- Found in:
- Vanilla
eventOnStageSet(intauiStageID, intauiItemID)
Description
Wiki Description
Event called when a quest stage is set.
Documentation Comment
Event received when a quest stage is set (in parallel with the fragment)
Caveats
CK Wiki - 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.
Parameters
intauiStageID
CK Wiki Description
The stage that was set
intauiItemID
CK Wiki Description
The stage item that was set
Examples
Event OnStageSet(int auiStageID, int auiItemID)
Debug.Trace("This quest is running stage " + auiStageID + " item " + auiItemID)
endEventAuto-Generated Example
Scriptname MyCoolScript extends Quest
event OnStageSet(int auiStageID, int auiItemID)
Debug.trace("Event received - OnStageSet: auiStageID = " + auiStageID + " auiItemID = " + auiItemID)
endEvent