OnPackageEnd - Actor

Revision as of 12:28, 19 September 2014 by imported>Terra Nova2

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, and works for the player that is currently controlled via SetPlayerAIDriven, and has finished a package.

See Also