Rune_PRC8/_module/nss/gz_chest_disturb.nss
Jaysyn904 d1c309ae63 Initial commit
Initial commit
2024-09-13 09:10:39 -04:00

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);
}
}