2021-10-05 22:59:59 +00:00
|
|
|
Scriptname _00E_CapitalCity_HeroldUpdateSC extends ObjectReference
|
2021-10-05 22:15:58 +00:00
|
|
|
|
2021-10-05 22:59:59 +00:00
|
|
|
_00E_HeroldScript Property ArkMarket_HeroldREF Auto
|
|
|
|
Actor Property PlayerREF Auto
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF
|
2021-10-05 22:59:59 +00:00
|
|
|
ArkMarket_HeroldREF.SetPlayerInsideTrigger(True)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
2021-10-05 22:59:59 +00:00
|
|
|
If akActionRef == PlayerREF
|
|
|
|
ArkMarket_HeroldREF.SetPlayerInsideTrigger(False)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndEvent
|