Mod:Creation Kit/OnPackageChange - Actor

Member of: Mod:Creation Kit/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