enderalse/source/scripts/_00e_mq11c_playerdetectedtriggersc.psc

21 lines
758 B
Plaintext

Scriptname _00E_MQ11c_PlayerDetectedTriggerSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
_00E_MQ11c_PlayerDetected.SetValueInt(0)
endif
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto
GlobalVariable Property _00E_MQ11c_PlayerDetected Auto