Trex Posted December 15, 2008 Posted December 15, 2008 Hopefully this is a straight forward request. Can anyone give a script to remove the PC's clothes (such as when taken prisoner in Kotor1). I can't seem to find one on the forum or in the source scripts. It's for Kotor2 if it makes a difference. Thanks in advance.
zbyl2 Posted December 15, 2008 Posted December 15, 2008 ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_*,GetFirstPC())); You can change this into INVENTORY_SLOT_HEAD, INVENTORY_SLOT_BODY etc. depends on what you want to unequip, and GetFirstPC() into any NPC you want
Trex Posted December 15, 2008 Author Posted December 15, 2008 ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_*,GetFirstPC())); You can change this into INVENTORY_SLOT_HEAD, INVENTORY_SLOT_BODY etc. depends on what you want to unequip, and GetFirstPC() into any NPC you want Thank you very much, sir!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.