Jump to content

Home

Remove Clothes Script


Trex

Recommended Posts

Posted

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.

Posted

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 ;)

Posted
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! :)

Archived

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

×
×
  • Create New...