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.
ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_*,G etFirstPC()));
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 ;)
ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_*,G etFirstPC()));
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! :)