Skip to main content

EXIT

EXIT or ON_EXIT

This event is used to indicate a cell that marks the exit from the dungeon. If this is a Door, it will be marked with brown color (indicating a wooden door, exit door as in the "Kellar's Keep" expansion). If the cell containing the EXIT Marker is a Staircase, all cells of the staircase will be used as exit cells.

This event also triggers when a hero exits from that specific exit, performing the associated actions. For this Event, it is possible to specify the option :REPEAT, or :LAST. Attention: In the absence of the :REPEAT option, this event will only trigger the first time a hero exits from this exit.

NOTE: The EXIT Event can be used in multiple cells. Each cell associated with this Event can be used as an exit from the dungeon.

  • Example 1: {[[(Y), EXIT]] You are the first hero to complete the dungeon!}
  • Example 2: {[[(Y), EXIT:REPEAT]] You found the exit of the dungeon!}
In both Example 1 and Example 2, the door next to the Y marker is colored brown to mark it as an exit door. In Example 2, a custom message is also shown, which will be repeated for each hero who exits.

  • Example 3: {[[(Y), EXIT:LAST]] You are the last hero to escape from the dungeon!}
In Example 3, the text "You are the last hero to escape from the dungeon!" is shown only when the last hero finishes the game by passing through this exit.
  • Example 4: {[[(Arrow), EXIT]]}
In Example 4, the starting cell is the one with the arrow marker. Since there is a door, it will be colored brown (as in the "Kellar's Keep" expansion).