OnPackageChange - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Event called when the actor changes away from a package.

Syntax[edit | edit source]

Event OnPackageChange(Package akOldPackage)

Parameters[edit | edit source]

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

Examples[edit | edit source]

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

Notes[edit | edit source]

See Also[edit | edit source]