OnStageSet - Quest

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Event called when a quest stage is set.

Syntax[edit | edit source]

Event OnStageSet(int auiStageID, int auiItemID)

Parameters[edit | edit source]

  • auiStageID: The stage that was set
  • auiItemID: The stage item that was set

Examples[edit | edit source]

Event OnStageSet(int auiStageID, int auiItemID)
  Debug.Trace("This quest is running stage " + auiStageID + " item " + auiItemID)
endEvent

Notes[edit | edit source]

  • This event runs in parallel with the quest stage fragment.
  • The quest stage 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]