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.
22 lines
497 B
22 lines
497 B
scriptName defaultButtonSCRIPT extends objectReference
|
|
{quick script for a button object.}
|
|
|
|
bool property useOnce = FALSE auto
|
|
{Can be used only once? Default: FALSE}
|
|
|
|
auto STATE active
|
|
EVENT onActivate(objectReference actronaut)
|
|
;playAnimationandWait("down")
|
|
playAnimation("down")
|
|
gotoState("inactive")
|
|
activate(self as ObjectReference)
|
|
playAnimation("up")
|
|
gotoState("active")
|
|
endEVENT
|
|
endSTATE
|
|
|
|
STATE inactive
|
|
; do nothing in this state
|
|
endSTATE
|
|
|
|
int Property TriggerType Auto
|
|
|