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.
20 lines
365 B
20 lines
365 B
5 months ago
|
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
|