Coord

World coordinates used by the arrow (x, y in WoW units).

Формат значения
table
Область применения
step

Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.

Примеры

Пример из исходной документации. Замените идентификаторы и значения для своего маршрута; этот сайт не выполняет Lua.

Lua · 01
Coord = { x = 4298.4, y = -864.1 }
Lua · 02
Coord = APR.worldCoordinateConverter:ConvertMapCoordinate(2393, 52.54, 78.88)
Lua · 03
APR.RouteQuestStepList["Forever-Training-Example"] = {
    label = "Training example",
    gameVersion = "forever",
    mapID = 1411,
    conditions = { Faction = "Horde", Class = "MAGE" },
    steps = {
        {
            LearnSkill = { spellID = 7411 },
            MinLevel = 5,
            SkipForPrimaryProfessions = 2,
            Coord = { x = -4960.0, y = -791.3 },
            Zone = 1411,
        },
        { PickUp = { 96873 }, Skill = { skillID = 333, rank = 1 }, Zone = 1411 },
        { RouteCompleted = true },
    },
}

Документированные параметры

Документированные параметрыПоведение и подробностиФормат значения
xShown in the source example; this does not establish a required field.number

Поведение и подробности

Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.

Map coordinate conversion
Input / resultBehavior
Recorded CoordPrefer existing APR world coordinates. Never place map percentages directly in Coord.
Map percentagesCoord = APR.worldCoordinateConverter:ConvertMapCoordinate(2393, 52.54, 78.88); inputs range from 0 to 100.
ConversionUses 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.
Example Route
APR.RouteQuestStepList["Forever-Training-Example"] = {
    label = "Training example",
    gameVersion = "forever",
    mapID = 1411,
    conditions = { Faction = "Horde", Class = "MAGE" },
    steps = {
        {
            LearnSkill = { spellID = 7411 },
            MinLevel = 5,
            SkipForPrimaryProfessions = 2,
            Coord = { x = -4960.0, y = -791.3 },
            Zone = 1411,
        },
        { PickUp = { 96873 }, Skill = { skillID = 333, rank = 1 }, Zone = 1411 },
        { RouteCompleted = true },
    },
}

Поиск по вики

Начало работы с APRМаршруты и совместимостьАвтоматизация на ваших условияхНастройте интерфейс под себяЗастряли на шаге?Повседневные командыСоздание и публикация маршрутаЗадания в группе
Открыть вики