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.
31 lines
577 B
31 lines
577 B
scriptname defaultAOEpushOnActivateDoOnce extends objectReference
|
|
|
|
explosion property fakeForceBallNudge auto
|
|
{select the appropriate strength explosion for your reference}
|
|
bool property enablePush auto
|
|
{check only if you want to do the nudge when activated}
|
|
|
|
EVENT onLoad()
|
|
|
|
if enablePush == TRUE
|
|
blockActivation()
|
|
endif
|
|
|
|
endEVENT
|
|
|
|
auto STATE active
|
|
EVENT onActivate(objectREference actronaut)
|
|
|
|
if enablePush == TRUE
|
|
setOpen()
|
|
placeatme(fakeForceBallNudge)
|
|
blockActivation(FALSE)
|
|
endif
|
|
gotoState("inactive")
|
|
|
|
endEVENT
|
|
endSTATE
|
|
|
|
STATE inactive
|
|
endSTATE
|
|
|
|
|