OnAction - Scene

From Creation Kit
Jump to: navigation, search

Member of: Scene Script

Event called when a scene timer action is run.

Syntax

Event OnAction(int auiActionID, ReferenceAlias akAlias)

Parameters

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

Examples

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

Notes

  • 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