User Tools

Site Tools


This is an old revision of the document!

Cardinal Direction

The concept of cardinal directions plays an important role due to the grid-based nature of RPG in a Box. There are four cardinal directions: north, south, west, and east.

When used in scripting (for example, when manually writing a quick script), the direction should be specified in all uppercase, i.e. NORTH, SOUTH, WEST, and EAST.


load_map("dungeon", coord[3, 4, 0], NORTH)
cardinal_direction.1588870661.txt.gz · Last modified: 2020/05/07 09:57 by justin