Coords
Multiple coordinate variants for the same step. Typically paired with Zones; each entry should include its own Zone.
- Format des Werts
- table
- Geltungsbereich
- step
Technische Beschreibungen bleiben im englischen Original erhalten. Feldnamen und Lua-Beispiele sind unverändert.
Beispiele
Beispiel aus der Quelle. Ersetze IDs und Werte passend zu deiner Route; diese Website führt kein Lua aus.
Lua · 01
Coords = { { Zone = 84, x = 797.7, y = -8624.9 }, { Zone = 85, x = -4436, y = 1590.3 } }Dokumentierte Parameter
| Dokumentierte Parameter | Verhalten und Details | Format des Werts |
|---|---|---|
Zone | Shown in the source example; this does not establish a required field. | number |
x | Shown in the source example; this does not establish a required field. | number |
y | Shown in the source example; this does not establish a required field. | number |
Verhalten und Details
Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.
Map coordinate conversion
| Input / result | Behavior |
|---|---|
Recorded Coord | Prefer existing APR world coordinates. Never place map percentages directly in Coord. |
| Map percentages | Coord = APR.worldCoordinateConverter:ConvertMapCoordinate(2393, 52.54, 78.88); inputs range from 0 to 100. |
| Conversion | Uses 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. |