19 lines
379 B
Plaintext
19 lines
379 B
Plaintext
|
Scriptname _00E_MQ16_SC07_EntryTriggerSC extends ObjectReference
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
MQ16.bPlayerInTrigger = True
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
||
|
|
||
|
if akActionRef == Game.GetPlayer()
|
||
|
MQ16.bPlayerInTrigger = False
|
||
|
EndIf
|
||
|
|
||
|
EndEvent
|
||
|
|
||
|
_00E_MQ16_Functions Property MQ16 Auto
|