Hey guys it's been a while since I've been around here. I can't remember if a solution was ever found for this.
If I know the base object type, how can I get and set script variables on the object reference in the player's inventory? If I know beforehand that the player has atleast one of the items, is it possible? The variables are locally set on each instance of the object references. Each script will have something like:
Int Property SomeValue = http://forums.bethsoft.com/topic/1513115-getting-and-setting-script-variables-on-inventory-item/0 Auto Hidden
Which I want to set in some way like this:
ObjectInInventory.SomeValue += 1
Is this possible? I looked to see if there was a way to grab the object out of the player's inventory and place it in the world somewhere to set the variables, but RemoveItem() only accepts a container, or oblivion.