OnStageSet - Quest

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