Skip to main content

ON_OPEN

ON_OPEN

This event is triggered when a hero opens a door or secret door at the position of the marker.

NOTE: ON_OPEN cannot be modified with REPEAT.

  • Example: {[[(F), ON_OPEN]] The door is rusty and you have to use force to open it.}

In this example, when the door corresponding to marker F is opened, the message "The door is rusty and you have to use force to open it" will appear.

NOTE: When planning Actions related to ON_OPEN, remember that there are different ways to enter a room, other than opening a specific door (e.g., using another door, or using the spell "Pass Through Rock"). Entering the room without going through the door would not trigger the ON_OPEN Event. In general, it is suggested to use ON_OPEN only for Actions or messages that specifically relate to the door (and not to the room). If the action should occur upon entering the room, it is better to use ON_ENTER_ROOM or ON_SHOW. These Events are triggered regardless of how one enters the room.