mapID

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

Formato del valore
number
Ambito
route

Le descrizioni tecniche restano nell’inglese originale. I nomi dei campi e gli esempi Lua sono invariati.

Esempi

Esempio tratto dalle fonti. Sostituisci ID e valori in base al tuo itinerario; questo sito non esegue Lua.

Lua · 01
mapID = 2393
Lua · 02
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 },
    },
}

Comportamento e dettagli

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

Route Definition Options

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

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 },
    },
}

Cerca nella wiki

Inizia con APRItinerari e compatibilitàAutomazione, come vuoi tuUn’interfaccia a modo tuoUn passaggio non avanza?Comandi di uso comuneCreare e condividere un itinerarioMissioni in gruppo
Esplora la wiki