Background for Fallout 4
Member of the Package script
eventOnChange(ActorakActor)

Description

Wiki Description

Event called when the package is preempted or ends normally.

Documentation Comment

Event called when the package changes (in parallel with the fragment)


Caveats

CK Wiki - Notes

  • This event runs in parallel with the change fragment.

Parameters

ActorakActor

CK Wiki Description

The actor the package was running on


Examples

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

Auto-Generated Example

Scriptname MyCoolScript extends Package

event OnChange(Actor akActor)
    Debug.trace("Event received - OnChange: akActor = " + akActor)
endEvent

Related Pages


Additional References

View this event’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.