OnPackageEnd - Actor
Revision as of 13:12, 24 February 2016 by imported>Terra Nova2 (Changed wording in the notes section for clarification.)
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.