Jump to content

Home

Remove Clothes Script


Trex

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...