enderalse/source/scripts/defaultonactivateevaluatepackage.psc

20 lines
365 B
Plaintext
Raw Normal View History

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