Trex Posted December 15, 2008 Share 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. Link to comment Share on other sites More sharing options...
zbyl2 Posted December 15, 2008 Share 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 Link to comment Share on other sites More sharing options...
Trex Posted December 15, 2008 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.