Hi guys, in my work with the Quest wizard I have tried many variations of objectives and choices and battles. One thing that I can't get to work correctly is to figure out what will happen when I lose a battle in a quest. Does anyone have a good feel for what happens for an objective that has a battle victory as a condition?
The core quests used to have a failure condition when the battle was lost, but that was taken out a couple of builds ago, in theory so that the player could come back to the quest and fight the battle again.
So a quest that doesn't quite work how it should is the The Camp Healer2 quest I made that you can download from the quest wizard post. In particular, this objective below will still move to the next objective even if I lose the battle (the remaining enemies will be on the strategic map).
Code: xml
- <QuestObjectiveDef>
- <ObjectiveID>6</ObjectiveID>
- <NextObjectiveID>7</NextObjectiveID>
- <PopupObjectiveMsg>0</PopupObjectiveMsg>
- <Description>Shaman Battle</Description>
- <QuestConditionDef>
- <Class>Success</Class>
- <Type>BattleFinished</Type>
- <TextData>DarklingShaman</TextData>
- <MoreTextData>Victory</MoreTextData>
- <Objective>
- <Icon>M_Darkling_Shaman_Card.png</Icon>
- <Text>Find the healer</Text>
- <IsOptional>0</IsOptional>
- </Objective>
- </QuestConditionDef>
- </QuestObjectiveDef>
Any thoughts or ideas? What we'd really like to do is move to a new objective if you lose and a different one if you win.