Coords

Multiple coordinate variants for the same step. Typically paired with Zones; each entry should include its own Zone.

Value shape
table
Scope
step

Technical descriptions are preserved in source English. Field names and Lua examples are unchanged.

Examples

Source example. Replace IDs and values for your route; this website does not execute Lua.

Lua · 01
Coords = { { Zone = 84, x = 797.7, y = -8624.9 }, { Zone = 85, x = -4436, y = 1590.3 } }

Documented parameters

Documented parametersBehavior & detailsValue shape
ZoneShown in the source example; this does not establish a required field.number
xShown in the source example; this does not establish a required field.number
yShown in the source example; this does not establish a required field.number

Behavior & details

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

Map coordinate conversion
Input / resultBehavior
Recorded CoordPrefer existing APR world coordinates. Never place map percentages directly in Coord.
Map percentagesCoord = APR.worldCoordinateConverter:ConvertMapCoordinate(2393, 52.54, 78.88); inputs range from 0 to 100.
ConversionUses the in-game map API; returns swapped APR world axes rounded to one decimal, or nil if unavailable. Verify in game before saving static coordinates.

Search the wiki

Get started with APRRoutes & compatibilityAutomation, on your termsMake the interface yoursStuck on a step?Everyday commandsCreate & share a routeQuesting with a group
Browse the wiki