12 lines
285 B
Plaintext
12 lines
285 B
Plaintext
void main()
|
|
{
|
|
event eEv = EventUserDefined(997);
|
|
object oGuardian =GetObjectByTag(GetTag(OBJECT_SELF)+"_GUARD");
|
|
SetLocalString(oGuardian,"T1_OBJ_MYTARGET",GetTag(GetLastDisturbed()));
|
|
if (oGuardian != OBJECT_INVALID)
|
|
{
|
|
SignalEvent(oGuardian,eEv);
|
|
}
|
|
|
|
}
|