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.
23 lines
497 B
23 lines
497 B
5 months ago
|
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
|