I'm struggling because I know we can't call member functions on objects inside containers.
Specifically I need the following info:
Check container's objects against a form list.
If the object exists in the form list, I need to know the index in that form list for that item.
I'm fiddling about with a couple of methods I use for similar things but have never specifically done this before. Checking GetItemCount(myFormList) will return true, but I need to know the index of the object in the form list. I know that I'll need to use GetAt(), but I'm not sure how to call that on the objects in the container.
As always really appreciate any help
I should note that however messy I would like to achieve this without SKSE. Although I enjoy building optional SKSE features into my mod, I don't want a major feature to require it (if possible )