24 lines
447 B
Plaintext
24 lines
447 B
Plaintext
|
Scriptname _00E_FS_NQR01_ArenaRadiusSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == PlayerREF
|
||
|
|
||
|
_00E_FS_NQR01_PlayerInArena.SetValueInt(1)
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == PlayerREF
|
||
|
|
||
|
_00E_FS_NQR01_PlayerInArena.SetValueInt(0)
|
||
|
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Actor Property PlayerREF Auto
|
||
|
GlobalVariable Property _00E_FS_NQR01_PlayerInArena Auto
|