steps
Main ordered list of route steps.
- 值的格式
- table
- 適用範圍
- route
技術說明保留英文原文。欄位名稱與 Lua 範例維持不變。
範例
原始檔範例。請依照你的路線替換 ID 與數值;本網站不會執行 Lua。
Lua · 01
steps = { { PickUp = { 86733 } }, ... }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 },
},
}已記載的參數
| 已記載的參數 | 行為與詳細資訊 | 值的格式 |
|---|---|---|
PickUp | Shown in the source example; this does not establish a required field. | table |
行為與詳細資訊
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 },
},
}