QuestStage struct - Quest
Revision as of 17:53, 2 December 2015 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Quest Script Struct that holds both a quest and a stage number for ease of use. == Syntax == <source lang="papy...")
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)