4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
474 B

Scriptname _00E_MQ11c_OorbayaSafezoneScript extends ObjectReference
{Sets a global to one once the player has entered the trigger
}
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
_00E_MQ11c_PlayerIsSafe.SetValueInt(1)
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
_00E_MQ11c_PlayerIsSafe.SetValueInt(0)
EndIf
EndEvent
GlobalVariable Property _00E_MQ11c_PlayerIsSafe Auto