QuestStage struct - Quest
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)