QuestStage struct - Quest

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Quest Script

Struct that holds both a quest and a stage number for ease of use.

Syntax[edit | edit source]

struct QuestStage
  Quest QuestToSet
  int StageToSet
endStruct

Members[edit | edit source]

  • QuestToSet: The quest containing the stage to set
  • StageToSet: The stage to set

Examples[edit | edit source]

; A little contrived, you will likely make the quest stage a property so the editor will fill out the data
Quest:QuestStage stageToSet = new Quest:QuestStage
stageToSet.QuestToSet = MyQuest
stageToSet.StageToSet = 10
Quest.SetQuestStage(stageToSet)

See Also[edit | edit source]