29 lines
899 B
Plaintext
29 lines
899 B
Plaintext
Scriptname _00E_CapitalCity_HeroldUpdateSC extends ObjectReference
|
|
|
|
;=====================================================================================
|
|
; FUNCTIONS
|
|
;=====================================================================================
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
If akActionRef == PlayerREF
|
|
ArkMarket_HeroldREF.CheckForHerold()
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
Event OnTriggerLeave(ObjectReference akActionRef)
|
|
|
|
if akActionRef == PlayerREF
|
|
ArkMarket_HeroldREF.bCurrentlySpeaking = False
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
_00E_HeroldScript Property ArkMarket_HeroldREF Auto |