QML - Create Your Own Adventure

Name Topic Used in Type
choose Branching station element
Sometimes, after checking states with "if", you may decide you don't want to display content at this station at all, but rather automatically forward to another station. You can use the choose-element to do that. It's a bit like the choice element, only that you make the decision to follow it. Since there's no text to be displayed, the choice-element is empty (wraps no content).
Sample:
<if check="[has travelled to village before]">
   <image sourc="media/village.gif"/>
   <text>It's a long travel.<break/>
      You meet many strange creatures on your way.
      Finally, you arrive at the village.
   </text>

   <choice station="village">Enter the village</choice>
</if>
<else>
   <choose station="village" />
</else>