QuestStage struct - Quest
Member of: Quest Script
Struct that holds both a quest and a stage number for ease of use.
SyntaxEdit
struct QuestStage
Quest QuestToSet
int StageToSet
endStruct
MembersEdit
- QuestToSet: The quest containing the stage to set
- StageToSet: The stage to set
ExamplesEdit
; 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)