QML - Create Your Own Adventure

Branching

Some decisions made by the player take a direct effect. Other decisions will not take effect until much later in the quest. If you set states at certain stations, you can check them later on and decide where to take the player. All of this will be behind the scenes and cannot be seen by the player.
Sample:
<text>There are three exits. Where do you want to go?
</text>

<choice station="roomNorth">North</choice>
<choice station="roomSouth">South</choice>
<choice station="roomWest">West</choice>

Elements: choice | if | else | choose | input