SKSE accessing inventory data with plugin

Post » Fri Dec 02, 2016 4:40 pm

Hello, currently I'm having a bit of trouble with inventories. I want to access entries to the player's or some other container's inventory, but apparently I have come across a strange quirk. I'm taking an object reference and casting it as a ExtraContainerData. Then I acess data->objList to geht the tList of EntryData's. However, when I Fall the Count() oft tList, only 5 members are counted, even though I know there are more. The five members appear to be the set of iron armor the player is wearing. I'm very confused AS to why this is. Should I be casting the object ref as something else to access the entire list? Or is there another list included in the ExtraContainerChanges I don't know about?
User avatar
Céline Rémy
 
Posts: 3443
Joined: Sat Apr 07, 2007 12:45 am

Return to V - Skyrim