OnPackageChange - Actor

From the Fallout4 CreationKit Wiki
Revision as of 17:34, 16 August 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus Category:Events '''Member of:''' Actor Script Event called when the actor changes away from a package. == Syntax == <source …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Event called when the actor changes away from a package.

Syntax

Event OnPackageChange(Package akOldPackage)

Parameters

  • akOldPackage: The Package that the actor changed away from.

Examples

Event OnPackageChange(Package akOldPackage)
  Debug.Trace("We just switched away from running the " + akOldPackage + " package")
endEvent

See Also