OnAction - Scene

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Scene Script

Event called when a scene timer action is run.

Syntax[edit | edit source]

Event OnAction(int auiActionID, ReferenceAlias akAlias)

Parameters[edit | edit source]

  • auiActionID: The action ID being run
  • akAlias: The alias the action is running on

Examples[edit | edit source]

Event OnAction(int auiActionID, ReferenceAlias akAlias)
  Debug.Trace("Scene timer action " + auiActionID + " is running on " + akAlias)
endEvent

Notes[edit | edit source]

  • This event runs in parallel with the scene timer action fragment.
  • The scene action will not be considered finished until the fragment and events on all scripts (on the quest or remotely registered) have finished running.

See Also[edit | edit source]