generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
11
_module/nss/vat_uneq_helm.nss
Normal file
11
_module/nss/vat_uneq_helm.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
object oItem = GetItemInSlot(INVENTORY_SLOT_HEAD, oPC);
|
||||
if (GetIsObjectValid(oItem))
|
||||
{
|
||||
//ActionUnEquip didn't work, so put a copy in inventory and then destroy the one in the slot
|
||||
object oCopy = CopyItem(oItem, oPC, TRUE);
|
||||
DestroyObject(oItem);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user