Author Topic: Opening a placeable's inventory via scripting.  (Read 400 times)

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Opening a placeable's inventory via scripting.
« on: September 17, 2015, 05:54:48 pm »


               

I want to have a PC open a placeable's inventory without having to click on the placeable.  Is this possible via scripting?


 


 



               
               

               
            

Legacy_meaglyn

  • Hero Member
  • *****
  • Posts: 1451
  • Karma: +0/-0
Opening a placeable's inventory via scripting.
« Reply #1 on: September 17, 2015, 06:15:22 pm »


               

Yep. Have the PC interact with it. If it has inventory it should open up the inventory:  



AssignCommand(oPC, ActionInteractObject(oStealStore));

               
               

               
            

Legacy_3RavensMore

  • Hero Member
  • *****
  • Posts: 1153
  • Karma: +0/-0
Opening a placeable's inventory via scripting.
« Reply #2 on: September 17, 2015, 06:21:34 pm »


               

I searched though all the "action" functions and didn't see that one.  Thanks again, Meaglyn.