oasis-b

Wiki / Events

Common events

Event commands you can use from anywhere, and how they start.

A common event is a list of commands that does not belong to a map. You make it once in the database and use it everywhere: an item that teleports, a shared shop dialog, a day and night change.

NoneRuns only when called: by the Common Event command, by an item or skill effect.
AutorunRuns on its own while its switch is ON and blocks the player.
ParallelRuns on its own again and again while its switch is ON, without blocking.

The same rule as for map events applies: an Autorun common event must turn its own switch off at the end, or the game hangs.

An item or skill with the effect "Common Event" runs it after use. In battle it runs once the action is done; on the map it runs when the menu closes.