Well, that explains the loss of Object scripts.
I can't use FormIDs since I want modded items to be duplicated as well as vanilla, so OBSE seems to be the way to go. Too bad I'm not very familiar with OBSE scripting.
short invPos ;which container item we're looking atshort invCount ;how many different kinds of items (forms) are in the containerref pInvObj ;the item itselfref pCont ;the container it's all in...; Step 1 - Set the container refset pCont to YourDesiredContainer; Step 2 - Set which stack we're looking at to nothing (to always start fresh)set invPos to 0; Step 3 - Get & set the number of different kinds of items in the containerset invCount to pCont.GetNumItems; Step 4 - Walk through the inventory; For as long as the container item we're looking at isn't the last oneWhile invPos < invCount ; Set pInvObj to the container item we're looking at set pInvObj to (pCont.GetInventoryObject invPos) ; Now do whatever you want to the ref! ... ... ; Okay, done doing stuff, move on to the next container item set invPos to invPos + 1; Go back to "While" and run again if the conditions are metLoop
Set PlayerAngle to Player.GetAngle ZPlant.SetAngle Z PlayerAngle
Set PlantAngle to Plant.GetAngle Z + Vine.GetHeadingAngle PlayerPlant.SetAngle Z PlantAngle