OnAction - Scene

From the Fallout4 CreationKit Wiki
Revision as of 16:52, 12 March 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus Category:Events '''Member of:''' Scene Script Event called when a scene timer action is run. == Syntax == <source lang="papy...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]