OnPackageChange - Actor

From Creation Kit
Jump to: navigation, 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