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 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.
Coords = { { Zone = 84, x = 797.7, y = -8624.9 }, { Zone = 85, x = -4436, y = 1590.3 } }Behavior & details
Action / Progression Options
An action waits for completion; a failed step condition skips the step. Use one main action per step.
| Option | Description | Expected Syntax |
|---|---|---|
Achievement | Track an achievement or criterion. Prefer criteriaID over positional criteriaIndex; if both are given, the ID wins. | Achievement = { achievementID = 61960, criteriaID = 111471 } or { achievementID = 61576 } |
BankDeposit | Move every listed bag stack into the open Classic character bank and bank bags; excludes guild, reagent and warband banks. | BankDeposit = { items = { 4371, 5465 } } |
BankWithdraw | Move every listed Classic character-bank stack into bags while the bank is open. | BankWithdraw = { items = { 4371 } } |
BuyMerchant | Buy quantities from the open merchant as a main or secondary action. MerchantNPC restricts the merchant; place junk sales before purchases. Each entry can set isSupply = true for weapon upgrades or consumable replenishment: automatic buying then requires Automation's weapons/consumables opt-in (off by default), while instructions and manual purchase tracking remain active. Leave quest-required purchases unmarked, including food or reagents needed for a quest. optional separately permits unavailable/unaffordable automatic purchases to be omitted; it does not grant opt-in. | BuyMerchant = { { itemID = 4371, quantity = 1 } } |
ChromiePick | Selects a specific Chromie Time timeline by option ID. | ChromiePick = 8 |
DeathSkip | Wait for death, confirm resurrection at a spirit healer, then finish on resurrection. Does not kill the character or accept an ordinary player resurrection as completion. | DeathSkip = true, Hardcore = false |
DestroyItems | Delete every bag stack of the listed items and wait until absent; no quantity limit. | DestroyItems = { items = { 12345 } } |
EquipItem | Show the localized item name and an item button; complete once the specified slot contains the item. Use possession and level conditions for deferred parallel reminders. | EquipItem = { itemID = 2030, slot = 16 } |
Done | Quests to turn in. The step completes once all listed quests are handed in. If using DoneDB, keep a base Done field as well. | Done = { 12345, 12400 } |
DoneDB | Alternative quest IDs counted as the same hand-in. Requires Done. | DoneDB = { 12345, 54321 } |
DoScenario | Indicates that the player should complete the scenario. | DoScenario = { questID = 86912, mapID = 2505 } |
DroppableQuest | Defines passive or active dropped-quest tracking. When used without DropQuest, it behaves like a filler hint. | DroppableQuest = { Qid = 41234, MobId = 133713, Text = "Fel Marauder" } |
DropQuest | Quest obtained from a mob drop. Must be paired with a corresponding DroppableQuest. | DropQuest = 48876 |
Emote | Requires performing an emote on a target or at a step. | Emote = { emote = "salute", npcID = 12345 } |
EnterInstance | Guides the player into an instance. Forever dungeon checkpoints use dungeonKey to match the instance ID. | EnterInstance = { questID = 12345, mapID = 2505 } or { dungeonKey = "RFC" } |
EnterScenario | Guides the player to a scenario entrance. | EnterScenario = { questID = 86636, mapID = 2502 } |
ExitTutorial | Exile's Reach specific step that auto-skips if the exit quest is no longer tracked. | ExitTutorial = 59985 |
Fillers | Optional side objectives that can progress during any step without blocking the route. Associate images with their quest using FillerPreviewImages; see [Image previews](#image-previews). | Fillers = { [49529] = { 1 }, [49897] = { 1 } } |
GetFP | Learn a flight path node. | GetFP = 2395 |
Grind | Wait until the level/XP threshold is reached; supports numbers, absolute XP and named profiles. | Grind = 60 |
Group | Marks an optional group quest and shows a popup (questID, Number). | Group = { questID = 51384, Number = 3 } |
GroupTask | Associates the step with WantedQuestList to store the player's decision for a group quest. | GroupTask = 51384 |
KillNPC | Wait for an observed boss death in the specified Forever dungeon. Requires npcID, name and dungeonKey; see dungeon checkpoints below. | KillNPC = { npcID = 11520, name = "Taragaman the Hungerer", dungeonKey = "RFC" } |
LearnProfession | Wait for the requested profession spell to be learned. Without Coord or Coords, resolve a matching reachable trainer through the service catalogue; arrival does not complete learning. | LearnProfession = 2259 |
LearnSkill | Train the selected spells at a trainer. Without Coord or Coords, resolve a matching reachable training service. Wait if unavailable or unaffordable; apply the required MinLevel and class filters. | LearnSkill = { spellID = 6673 }, MinLevel = 1 |
LeaveInstance | Prompts to leave the instance once objectives are done. A Forever dungeonKey checkpoint completes once the player is outside all instances. | LeaveInstance = { questID = 12345, mapID = 2505 } or { dungeonKey = "RFC" } |
LeaveQuest | Abandons a single quest from the quest log. | LeaveQuest = 38254 |
LeaveQuests | Abandons multiple quests from the quest log. | LeaveQuests = { 38254, 38257 } |
LeaveScenario | Prompts to leave the scenario once objectives are done. | LeaveScenario = { questID = 86912, mapID = 2505 } |
SkillGoal | Wait until the actual learned skill rank reaches the target. Display localized current/target progress; crafting stays manual. See [Skill rank goals](#skill-rank-goals). | SkillGoal = { skillID = 8888, rank = 25 } |
LootItems | Wait for each quantity (default 1) in bags plus the saved character bank. A completed questID also satisfies its entry; no virtual loot or remembered counts. | LootItems = { { questID = 86644, itemID = 244143, quantity = 1 } } |
LootMoney | Wait for cash plus carried items' estimated vendor value to reach copper; shows a progress bar. Excludes banks and uncached prices. See resource fields below. | LootMoney = { copper = 10, includeEquipped = true } |
MountVehicle | Automatically validates when a mount / boarding event is detected. | MountVehicle = true |
Note | Informational step accepting a string or array of strings. Seen notes are remembered and can auto-skip on later resets / revisits. | Note = { "Open the map", "Follow the bridge north" } |
NpcDismount | Automatically dismounts to talk to the targeted NPC. | NpcDismount = 43733 |
PickUp | List of quest IDs to pick up. The step remains active until all quests are in the log. If using PickUpDB, keep a base PickUp field as well. | PickUp = { 39688 } |
PickUpDB | Alternative quest IDs for the same pickup step (class / faction variants). Requires PickUp. | PickUpDB = { 39688, 39694, 40255, 40256 } |
Qpart | Quest objectives to complete, mapped by quest ID and objective index. | Qpart = { [12345] = { 1, 2 } } |
QpartDB | Alternative quest IDs for the same Qpart block. Requires Qpart. | QpartDB = { 12345, 12346 } |
QpartPart | Splits a single objective into guided sub-parts. Commonly paired with TrigText. Supports fraction and percentage style progress markers. | QpartPart = { [12345] = { 1 } }, TrigText = "1/3" |
Repair | Open the declared NPC's vendor option and repair automatically, independently of general auto-gossip/auto-repair settings. Skip when every durable equipped item reaches minDurability (default 90%). Show the REPAIR label in both panels. | Repair = { npcID = 3331, minDurability = 90 } |
Reputation | Wait for the target standing, renown or friendship rank; shows progress within the current rank. See reputation types below. | Reputation = { factionID = 2590, type = APR.REPUTATION_TYPE.Renown, level = 10 } |
ResetRoute | Shows a confirmation popup that resets the active route back to step 1. | ResetRoute = true |
RouteCompleted | Marks the route as finished and triggers route completion flow. Must stay as the last step. | RouteCompleted = true |
Scenario | Fine-grained scenario objective tracking (scenarioID, stepID, criteriaID, etc.), optionally tied to a quest ID. | Scenario = { criteriaID = 106007, criteriaIndex = 1, scenarioID = 3101, stepID = 15911, questID = 86820 } |
SellItems | Sell listed stacks and/or grey junk at the open merchant. npcID restricts the vendor; no quantity limit. Junk uses the localized default label; put extra advice in Note. | SellItems = { items = { 7073, 7074 }, npcID = 54 } or SellItems = { junk = true } |
SetHS | Step to set the Hearthstone. | SetHS = 31732 |
TameBeast | Show TAMEBEAST (Tame the %s beast) with the cached localized NPC name, falling back to the beast name in Text; update both panels when a live unit reveals its name. Offer spell and target buttons; complete after a successful cast on the specified NPC. | TameBeast = { npcID = 3127, spellID = 1515, Text = "Venomtail Scorpid" } |
Treasure | Treasure or vignette step. The addon tracks the treasure's anchor quest, with optional item details for the tooltip. | Treasure = { questID = 89105, itemID = 238553 } |
UseDalaHS | Dalaran Hearthstone variant. | UseDalaHS = 44184 |
UseFlightPath | Step for using a flight master. Validates once the flight is complete. | UseFlightPath = 39580 |
UseGarrisonHS | Garrison Hearthstone variant. | UseGarrisonHS = 110560 |
UseHS | Step to use the Hearthstone. | UseHS = 31732 |
UseItem | Standalone item-use action. questID is required; APR resolves the use spell from the item unless itemSpellID is supplied. Use Button when the item supports another objective. | UseItem = { questID = 42008, itemID = 173430, itemSpellID = 254294 } |
UseSpell | Standalone spell-cast action. questID is required. Use SpellButton when the spell supports another objective. | UseSpell = { questID = 42476, spellID = 193759 } |
VehicleExit | Forces exiting a vehicle. | VehicleExit = true |
WarMode | Ask the player to enable War Mode; completes when it is desired. The quest ID supplies the label. XP bonuses require active War Mode. | WarMode = 60361 |
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