This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
coordinate [2017/05/29 14:50] – justin | coordinate [2017/05/29 14:52] – justin | ||
---|---|---|---|
Line 3: | Line 3: | ||
A **coordinate** is a scripting data type that represents a 3D position within the current map and is written as //coord[x, y, z]//. The X and Y values correspond to the horizontal position and are measured in tile units, while the Z value corresponds to the vertical position and is measured in voxel units. Each tile, object, and character within a map has its own coordinate based on its placement within the map. | A **coordinate** is a scripting data type that represents a 3D position within the current map and is written as //coord[x, y, z]//. The X and Y values correspond to the horizontal position and are measured in tile units, while the Z value corresponds to the vertical position and is measured in voxel units. Each tile, object, and character within a map has its own coordinate based on its placement within the map. | ||
+ | |||
+ | {{: | ||
====Example: | ====Example: |