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.
19 lines
365 B
19 lines
365 B
scriptName defaultOnActivateEvaluatePackage extends Actor
|
|
{
|
|
- Evaluate the actor's package when they're activated.
|
|
}
|
|
|
|
bool property doOnce = False auto
|
|
|
|
Auto State PreActivation
|
|
Event OnActivate(ObjectReference triggerRef)
|
|
Self.EvaluatePackage()
|
|
if (doOnce)
|
|
gotoState("PostActivation")
|
|
EndIf
|
|
EndEvent
|
|
EndState
|
|
|
|
STATE PostActivation
|
|
;Do nothing
|
|
EndState
|
|
|