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).

Formato del valor
Lua
Ámbito
Navigation and Targeting

Las descripciones técnicas se conservan en su inglés original. Los nombres de los campos y los ejemplos de Lua no se modifican.

Ejemplos

Ejemplo de las fuentes. Sustituye los ID y valores según tu ruta; este sitio no ejecuta 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 },
    },
}

Funcionamiento y detalles

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.

Sincronizado desde GitHub · 6d80020 · Datos guardados

Buscar en la wiki

12 resultados

Explorar la wiki