Coord

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

값 형식
table
적용 범위
step

기술 설명은 영어 원문으로 유지됩니다. 필드 이름과 Lua 예제는 변경되지 않았습니다.

예제

원문 예제입니다. 노선에 맞게 ID와 값을 바꾸세요. 이 웹사이트는 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 시작하기노선과 호환성원하는 만큼 자동화하기나만의 인터페이스 만들기단계가 진행되지 않나요?자주 쓰는 명령어노선 제작과 공유파티와 퀘스트 진행하기
위키 둘러보기