mapID

Main map ID for the route. Used as route metadata and zone fallback.

值的格式
number
適用範圍
route

技術說明保留英文原文。欄位名稱與 Lua 範例維持不變。

範例

範例來自原始檔。請依照你的路線替換 ID 與數值;本網站不會執行 Lua。

Lua · 01
{
    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 },
    },
}

運作方式與詳細說明

Route Definition Options
OptionDescriptionExpected Syntax
categoryRoute category enum. Common values are leveling, speedrun, campaign, etc.category = APR.CATEGORIES.Leveling
conditionsRoute selection rules; see the supported scopes in Filters and Conditions.conditions = { Level = 80, Faction = "Alliance" }
expansionExpansion enum used to group the route in the UI.expansion = APR.EXPANSIONS.Midnight
gameVersionClient family: "retail", "forever" or "classic". Incompatible routes are hidden and unavailable.gameVersion = "forever"
labelDisplay name shown in the route list.label = "Midnight - Speedrun"
levelRangeDisplay-only character level interval in the route list. Forever profession guides use 1-60; profession skill ranks are separate. If no level can be determined, the list shows -. This metadata does not gate route or step access.levelRange = { min = 1, max = 60 }
mapIDMain map ID for the route. Used as route metadata and zone fallback.mapID = 2393
nextRouteFollow-up route keys. Conditional entries must also pass the target route's selection rules.nextRoute = { "Shared", { route = "Class", conditions = { Class = "MAGE" } } }
parallelStepsDeclare before steps. Insert eligible groups at the current position, or after the current InstanceQuest block. Single EquipItem/UseItem actions inherit live group conditions; other groups retain activation-only conditions.parallelSteps = { { conditions = { MinLevel = 88 }, steps = { ... } } }
parallelSteps[].repeatableFor a single UseItem action, allow a fresh activation after the previous action was passed and the conditions became false then true (for example, another book was received).repeatable = true
prefabPrefab membership and ordering. Entry conditions select membership without hiding manual route selection.prefab = { [APR.PREFAB_TYPES.Speedrun] = { index = 20, conditions = { Class = "MAGE" } } }
requiredRouteRequired route keys. Applicable unfinished requirements are added before this route; hard visibility failures waive them, temporary level/spec/zone restrictions do not.requiredRoute = { "2432-Midnight-Intro" }
stepsMain ordered list of route steps.steps = { { PickUp = { 86733 } }, ... }
legacyLabelsPrevious labels recognized when resolving saved route names.legacyLabels = { "Old route label" }
autoStartOnMapAllows starter-route detection on the route's map.autoStartOnMap = true
notSkippablePrioritize this starter route and protect it from automatic prefab reset suggestions.notSkippable = true
hiddenFromSelectionHide the route from manual route selection.hiddenFromSelection = true
temporaryTemporary guide that preserves the parent route for resuming afterward.temporary = true
sojournerAchievementIDCompleted Sojourner achievement that allows campaign auto-skip when the player enables that setting.sojournerAchievementID = 61576
scenariosScenario variants for an instance route; each has scenarioID, steps and optional label/index.scenarios = { { scenarioID = 3101, steps = { ... } } }
delveMarks a route as a Delve guide.delve = {}

A file may register several independent APR.RouteQuestStepList["route-key"] = { ... } entries. Follow-up routes, prerequisites and prefabs reference these keys, not file names.

Navigation and Targeting
OptionDescriptionExpected Syntax
BoatIndicates the player should take a boat instead of flying. Requires UseFlightPath.Boat = true
CoordWorld coordinates used by the arrow (x, y in WoW units).Coord = { x = 4298.4, y = -864.1 }
CoordsMultiple 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 } }
MapMarkersStatic 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 } }
EmoteETADuration 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
ETAEstimated AFK timer duration in seconds.ETA = 75
GossipETAStarts an AFK timer after gossip confirmation.GossipETA = 45
InstanceQuestMarks instance steps; delays automatic Delve suggestions. A nearby matching DoScenario is replaced by the guide while preserving preceding setup steps.InstanceQuest = true
DungeonForever dungeon context for instance detection and boss-death credit during other actions.Dungeon = "RFC"
IsAdventureMapAllows auto-accepting quests from the Adventure Map.IsAdventureMap = true
NameOptional custom name to override the taxi node name.Name = "Krasus' Landing"
NoArrowHides the navigation arrow for this step.NoArrow = true
NoAutoFlightMapPrevents automatic flight / gossip selection for this step.NoAutoFlightMap = true
NodeIDFlight path node ID used on UseFlightPath steps.NodeID = 1719
NonSkippableWaypointPrevents the step from being skipped manually.NonSkippableWaypoint = true
RangeDistance in yards from Coord to consider the location reached.Range = 45
SingleWaypointDisplayDistanceDisplay only the distance to the next waypoint instead of the remaining waypoint chain.SingleWaypointDisplayDistance = true
SpecialETAHideHides the AFK timer even if ETA is set.SpecialETAHide = true
SpellETAStart the AFK timer after the successful cast of spellID, or the use spell of itemID.SpellETA = { spellID = 123, seconds = 30 }
TakePortalUse a portal; completes at mapID or when the linked quest is completed. Destination names come from the map ID.TakePortal = { questID = 81888, mapID= 85 }
WaypointQuest-related waypoint displayed until completion.Waypoint = 44543
WaypointDBAlternative waypoint quests that allow skipping if already completed. Requires Waypoint.WaypointDB = { 44543, 44544 }
ZoneExpected map ID for the step.Zone = 627
ZonesMultiple 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 }
ZoneStepTriggerAutomatically 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.

已從 GitHub 同步 · 6d80020 · 已儲存的資料快照

搜尋百科

12 筆結果

瀏覽百科