OnChange - Package

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Package Script

Event called when the package is preempted or ends normally.

Syntax[edit | edit source]

Event OnChange(Actor akActor)

Parameters[edit | edit source]

  • akActor: The actor the package was running on

Examples[edit | edit source]

Event OnChange(Actor akActor)
  Debug.Trace("This package finished or was preempted on " + akActor)
endEvent

Notes[edit | edit source]

  • This event runs in parallel with the change fragment.

See Also[edit | edit source]