Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
512 B
24 lines
512 B
scriptName defaultDweButtonScript extends objectReference
|
|
|
|
sound property QSTAstrolabeButtonPressX auto
|
|
objectReference property objSelf auto hidden
|
|
|
|
event onCellAttach()
|
|
objSelf = self as objectReference
|
|
playAnimation("Open")
|
|
endEvent
|
|
|
|
|
|
auto state open
|
|
event onActivate(objectReference akActivator)
|
|
goToState("waiting")
|
|
playAnimationAndWait("Trigger01","done")
|
|
if QSTAstrolabeButtonPressX
|
|
QSTAstrolabeButtonPressX.play(objSelf)
|
|
endif
|
|
goToState("Open")
|
|
endEvent
|
|
endState
|
|
|
|
state waiting
|
|
endState
|
|
|