OnPackageStart - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Event called when the actor starts running a new package.

Syntax

Event OnPackageStart(Package akNewPackage)

Parameters

  • akNewPackage: The Package that just started running.

Examples

Event OnPackageStart(Package akNewPackage)
  Debug.Trace("We just started running the " + akNewPackage + " package")
endEvent

Notes

  • It appears this event will not be sent in reference alias scripts. Use OnStart - Package instead.

See Also