16 lines
313 B
Plaintext
16 lines
313 B
Plaintext
|
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");
|
||
|
}
|
||
|
}
|