OnChange - Package

From Creation Kit
Jump to: navigation, search

Member of: Package Script

Event called when the package is preempted or ends normally.

Syntax

Event OnChange(Actor akActor)

Parameters

  • akActor: The actor the package was running on

Examples

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

Notes

  • This event runs in parallel with the change fragment.

See Also