Jump to content

Scripting: Access any pc inventory in game, have them equip what you g


Elestat

Recommended Posts

Greetings, I am trying to write a script that allows me to access the inventory of NPCS and give and take armor to them. I can use the .openinventory() function to open the inventory and take items, however i cant take the armor that npcs are wearing and they dont wear the armor i give them. I know this is related to the outfit thing, I have tried changing the NPCs outfit to an empty one with the .SetOutfit() function but so far no luck.

 

Does anyone know how to solve this? thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...