oasis-b

Wiki / Events

Events, pages and triggers

How an event decides which page runs, when it starts and how it is drawn.

An event is anything on a map that does something: a person, a door, a chest, a hidden switch. Each event has one or more pages. Every page has its own conditions, graphic, movement, trigger and list of commands.

Which page is active

RPG Maker checks the pages from the last to the first and uses the highest-numbered page whose conditions are all met. A page without conditions is always possible. That is why the usual pattern is: page 1 is the normal state, page 2 has the condition "switch X is ON" and shows what happens afterwards.

Possible conditions: up to two switches, one variable (at least a value), one self switch, an item the party has and an actor in the party.

Triggers

Action ButtonStarts when the player faces the event and presses OK. People, signs, chests.
Player TouchStarts when the player walks into the event. Doors, traps.
Event TouchAlso starts when the event walks into the player. Enemies on the map.
AutorunRuns on its own as soon as the page is active and blocks the player until it ends. Cutscenes.
ParallelRuns on its own again and again while the player keeps moving. Timers, effects.

Classic bug: an Autorun page that never turns itself off. The game freezes because the page starts again right away. End every Autorun page by turning on a switch or self switch that activates another page, or with Erase Event.

Priority

Below characters, same as characters or above characters. Only "same as characters" blocks the player; the player starts it with Action Button from the next tile, facing it. Events below or above characters are started when the player stands on them. A door you walk into usually is "same as characters" or "below characters" with Player Touch.