OnPackageEnd - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Event called when the actor finishes a package.

Syntax

Event OnPackageEnd(Package akOldPackage)

Parameters

  • akOldPackage: The Package that just stopped running.

Examples

Event OnPackageEnd(Package akOldPackage)
  Debug.Trace("We just stopped running the " + akOldPackage + " package")
endEvent


Notes

  • This can be used in a ReferenceAlias script attached to the player that is currently controlled via SetPlayerAIDriven, and has finished a package.

See Also