enderalse/scripts/source/_00e_mq07b_barriercrashfailsavesc.psc

21 lines
452 B
Plaintext

Scriptname _00E_MQ07b_BarrierCrashFailsaveSC extends ObjectReference Conditional
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
MQ07b_PlayerWithinShaftRange = True
EndIf
EndEvent
Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == PlayerREF
MQ07b_PlayerWithinShaftRange = False
EndIf
EndEvent
Actor Property PlayerREF Auto
bool Property MQ07b_PlayerWithinShaftRange Auto Conditional Hidden