MESSAGE_WITH_OPTIONS Element


MESSAGE_WITH_OPTIONS (a child element of STEP) displays a message in the dialogue window, as well as showing options for the player to choose. Each option can perform a different action.

Remarks

MESSAGE_WITH_OPTIONS occupies the whole STEP. This means that if you choose to use MESSAGE_WITH_OPTIONS in a step, you cannot use any other elements in that step.

Supported Values

MESSAGE_WITH_OPTIONS supports the use of its own child elements as values. For a list of supported child elements please refer to the tree menu on the left.

Examples

  • <STEP>
    • <MESSAGE_WITH_OPTIONS>
      • <MESSAGE>Do you want to enter this room?</MESSAGE>
      • <OPTION>
        • <MESSAGE>Yes</MESSAGE>
        • <ACTION>
          • ......
        • </ACTION>
      • </OPTION>
      • <OPTION>
        • <MESSAGE>No</MESSAGE>
        • <ACTION>
          • ......
        • </ACTION>
      • </OPTION>
    • </MESSAGE_WITH_OPTIONS>
  • </STEP>