Zone
Expected map ID for the step.
- Value shape
- number
- Scope
- step
Technical field names are preserved. Lua examples may include explanatory comments.
Examples
This example comes from the source documentation. Replace the IDs and values to suit your route. The website does not execute Lua.
{
PickUp = { 12345 }, -- Illustrative quest ID; replace with the actual quest.
Zone = 84,
Coord = { x = 4298.4, y = -864.1 }, -- Arrow entry point.
MapMarkers = {
{ x = 4298.4, y = -864.1 },
{ x = 4320.2, y = -890.5 },
{ x = 4350.0, y = -920.0, mapID = 84 },
},
}Behavior & details
Trainer destinations without coordinates
LearnProfession and LearnSkill do not require Coord, Coords or Zone.
When both coordinate fields are absent, APR searches the service catalogue for
eligible reachable trainers and chooses by estimated travel time. Navigation stays
inside the active guide: reaching the trainer does not advance the authored step
or replace the guide with a service detour. Explicit Coord or Coords takes
precedence and keeps the authored destination.
Known initial profession-learning spells select that profession's trainer category;
known weapon-learning spells in LearnSkill select the corresponding weapon
trainer. Ordinary LearnSkill class training uses the character's class. Optional
LearnSkill.npcID restricts the destination and the trainer interaction to that NPC.
For spellIDs, all requested spells participate in capability matching; an explicit
trainer capability list missing any requested spell is rejected. A higher-rank or
recipe spell supplied through LearnProfession requires exact catalogue evidence
that the trainer teaches it. Missing evidence keeps destination resolution pending
instead of assuming that any trainer for a profession teaches every rank or recipe.
Unknown character/location data or the absence of a reachable matching trainer
keeps the learning instruction pending; it does not mark the spell as learned.
LearnProfession completes from native learned-spell evidence and does not buy
training itself. LearnSkill retains its existing trainer interaction: the player
opens the trainer; APR can buy selected available, affordable services when its
action guards allow it. Combat, conditions, trainer restrictions and modifier
overrides still apply. This routing behavior does not craft anything and does not
complete a subsequent SkillGoal merely because training or travel occurred.
{ LearnProfession = 2259 }, -- Initial Alchemy learning; no fixed trainer coordinate.
{ LearnSkill = { spellID = 6673 }, Class = "WARRIOR" }, -- Class training.
For all-services training, use LearnSkill = { allAvailable = true, npcID = 911 };
the trainer ID is required. Keep the appropriate class and level filters on the
step. Missing service-catalogue data is not a reason to remove an explicit authored
coordinate or broaden an NPC restriction.
Navigation and Targeting
| Option | Description | Expected Syntax |
|---|---|---|
Boat | Indicates the player should take a boat instead of flying. Requires UseFlightPath. | Boat = true |
Coord | World coordinates used by the arrow (x, y in WoW units). | Coord = { x = 4298.4, y = -864.1 } |
Coords | Multiple coordinate variants for the same step. Typically paired with Zones; each entry should include its own Zone. | Coords = { { Zone = 84, x = 797.7, y = -8624.9 }, { Zone = 85, x = -4436, y = 1590.3 } } |
MapMarkers | Static search locations displayed together for the active step on the map and minimap. Uses APR world coordinates; does not change the arrow or step progression. See [Static search locations](#static-search-locations-mapmarkers). | MapMarkers = { { x = 4298.4, y = -864.1 }, { x = 4320.2, y = -890.5 } } |
EmoteETA | Duration in seconds of the AFK countdown, started once after the matching step emote is performed via the button, chat command or APR. Displaying the step does not start it. | EmoteETA = 60 |
ETA | Estimated AFK timer duration in seconds. | ETA = 75 |
GossipETA | Starts an AFK timer after gossip confirmation. | GossipETA = 45 |
InstanceQuest | Marks instance steps; delays automatic Delve suggestions. A nearby matching DoScenario is replaced by the guide while preserving preceding setup steps. | InstanceQuest = true |
Dungeon | Forever dungeon context for instance detection and boss-death credit during other actions. | Dungeon = "RFC" |
IsAdventureMap | Allows auto-accepting quests from the Adventure Map. | IsAdventureMap = true |
Name | Optional custom name to override the taxi node name. | Name = "Krasus' Landing" |
NoArrow | Hides the navigation arrow for this step. | NoArrow = true |
NoAutoFlightMap | Prevents automatic flight / gossip selection for this step. | NoAutoFlightMap = true |
NodeID | Flight path node ID used on UseFlightPath steps. | NodeID = 1719 |
NonSkippableWaypoint | Prevents the step from being skipped manually. | NonSkippableWaypoint = true |
Range | Distance in yards from Coord to consider the location reached. | Range = 45 |
SingleWaypointDisplayDistance | Display only the distance to the next waypoint instead of the remaining waypoint chain. | SingleWaypointDisplayDistance = true |
SpecialETAHide | Hides the AFK timer even if ETA is set. | SpecialETAHide = true |
SpellETA | Start the AFK timer after the successful cast of spellID, or the use spell of itemID. | SpellETA = { spellID = 123, seconds = 30 } |
TakePortal | Use a portal; completes at mapID or when the linked quest is completed. Destination names come from the map ID. | TakePortal = { questID = 81888, mapID= 85 } |
Waypoint | Quest-related waypoint displayed until completion. | Waypoint = 44543 |
WaypointDB | Alternative waypoint quests that allow skipping if already completed. Requires Waypoint. | WaypointDB = { 44543, 44544 } |
Zone | Expected map ID for the step. | Zone = 627 |
Zones | Multiple valid map IDs for a single step. Also acts as a condition: the step is only considered valid when the player is in one of those maps. | Zones = { 84, 85 } |
ZoneStepTrigger | Automatically validates the step when entering the specified radius. | ZoneStepTrigger = { x = 4098.2, y = -712.4, Range = 25 } |
Static search locations (`MapMarkers`)
Use MapMarkers when a quest giver, patrol or objective may be found at several
locations. It is a nonempty list of coordinate tables, not a sequence of waypoints:
{
PickUp = { 12345 }, -- Illustrative quest ID; replace with the actual quest.
Zone = 84,
Coord = { x = 4298.4, y = -864.1 }, -- Arrow entry point.
MapMarkers = {
{ x = 4298.4, y = -864.1 },
{ x = 4320.2, y = -890.5 },
{ x = 4350.0, y = -920.0, mapID = 84 },
},
}
The coordinates above illustrate the syntax; choose verified locations for the
actual NPC and map. Both x and y are APR world coordinates in WoW units, just
like Coord. Never put map percentages directly into MapMarkers. To convert a
location recorded as map percentages, use
APR.worldCoordinateConverter:ConvertMapCoordinate(mapID, xPercent, yPercent)
with inputs from 0 to 100. Check the result for nil and verify it in game before
copying its x and y into a static route definition. APR's converter already
handles the world-axis convention; do not swap its result again.
Each marker may specify mapID (lowercase), otherwise it uses the step's Zone
or the route's mapID. Optional instanceID identifies the world-coordinate
instance; it falls back to the step's instanceID, then the navigation preview's
map-instance lookup when available. Use the correct map and instance when markers
span different map contexts.
All locations appear together while this step is active, subject to the map and
minimap marker settings and a nonzero next-step marker count. World-map markers
appear only when they project inside the displayed map; the cosmic and world
overview maps do not show them. Every marker shares the step's filtered number
and tooltip. Additional locations do not consume the next-step display limit and
disappear when the active step changes or the corresponding markers are disabled.
Coord remains the arrow's entry point. Visiting a marker does not complete the
step, select another location or impose a visit order: the step's normal action
(such as accepting PickUp) controls completion. For a patrolling NPC, mark known
search locations and explain the patrol in the step instructions. These are static
locations: APR does not track the NPC live, draw a patrol line or automatically
point the arrow at the nearest marker. Use separate Waypoint steps when ordered
travel and arrival-based progression are required. Coords remains the existing
zone-dependent coordinate selection field; use MapMarkers for simultaneous
search locations.
Synced from GitHub · 6d80020 · Saved snapshot