enderalse/source/scripts/dwespidercenturionpipescript.psc

27 lines
545 B
Plaintext
Raw Normal View History

scriptName dweSpiderCenturionPipeScript extends ObjectReference
import debug
import utility
;****************************************
auto State Listening
Event onActivate(objectReference triggerRef)
Actor myActor = triggerRef as Actor
2023-12-06 15:31:10 +00:00
;USKP 2.0.1 - Added check to make sure the actor exists.
if (myActor && myActor.getState() != "Waiting")
gotoState("done")
playAnimation("exit")
endif
endEvent
endState
;****************************************
State done
;do nothing
endState
;****************************************