Background for Fallout 4
Member of the Quest script
boolfunctionSetCurrentStageID(intaiStageID)Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

If the target stage has multiple items with fragments on them, the function will not return until all items have finished running. Also note that all the items fragments will start at the same time, and will NOT wait on the "previous" item in the list to finish running.


Parameters

intaiStageID

CK Wiki Description

The stage index to set.


Examples

; Sets the main quest to stage 20
MainQuestProperty.SetCurrentStageID(20)
; Sets the side quest stage to 10 - and logs a message if it succeeds
if (SideQuestProperty.SetStage(20))
  Debug.Trace("Side quest successfully set to stage 20!")
endIf

Auto-Generated Example

int myInt__aiStageID

bool returnedValue = myQuest__toCallFunctionOn.SetCurrentStageID(myInt__aiStageID)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.