Initial upload
Initial upload
This commit is contained in:
21
_module/nss/removeslayscript.nss
Normal file
21
_module/nss/removeslayscript.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "x2_inc_itemprop"
|
||||
|
||||
//Put This on Enter of a Tracks Trigger
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oTarget;
|
||||
object oItem;
|
||||
oTarget = oPC;
|
||||
|
||||
oItem = GetItemInSlot(INVENTORY_SLOT_RIGHTHAND, oTarget);
|
||||
|
||||
IPRemoveMatchingItemProperties(oItem, ITEM_PROPERTY_ON_HIT_PROPERTIES, -1);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user