Initial Upload
Initial Upload
This commit is contained in:
15
_module/nss/_on_activateitem.nss
Normal file
15
_module/nss/_on_activateitem.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
object oItem=GetItemActivated();
|
||||
object oPC = GetItemActivator();
|
||||
|
||||
if(GetStringLeft(GetTag(oItem),4)=="DH2_")
|
||||
{
|
||||
ExecuteScript("desertheat2",oPC);
|
||||
}
|
||||
else
|
||||
{
|
||||
ExecuteScript(GetTag(GetItemActivated()),OBJECT_SELF);
|
||||
//SendMessageToPC(oPC,"on activate firing");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user