Difference between revisions of "OnPackageEnd - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
(Created page with 'Category:Scripting Category:Papyrus Category:Events '''Member of:''' Actor Script Event called when the actor finishes a package. == Syntax == <source lang="pap…')
 
imported>Terra Nova2
Line 20: Line 20:
endEvent
endEvent
</source>
</source>
== Notes ==
*This can be used in a ReferenceAlias script, and works for the player that is currently controlled via [[SetPlayerAIDriven_-_Game|SetPlayerAIDriven]], and has finished a package.


== See Also ==
== See Also ==

Revision as of 12:28, 19 September 2014

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