OnStageSet - Quest

From Creation Kit
Jump to: navigation, search

Member of: Quest Script

Event called when a quest stage is set.

Syntax

Event OnStageSet(int auiStageID, int auiItemID)

Parameters

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

Examples

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

Notes

  • 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