Difference between revisions of "DCS Class Airbase"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
Airbase.Category = { | Airbase.Category = { | ||
− | AIRDROME, | + | AIRDROME = 0, |
− | HELIPAD, | + | HELIPAD = 1, |
− | SHIP | + | SHIP = 2, |
Line 22: | Line 22: | ||
category = Airbase.Category | category = Airbase.Category | ||
} | } | ||
+ | A sample return of getDesc() on an airbase. | ||
+ | |||
+ | { | ||
+ | ["life"] = 3600, | ||
+ | ["attributes"] = { | ||
+ | ["Airfields"] = true, | ||
+ | }, | ||
+ | ["_origin"] = "", | ||
+ | ["category"] = 0, | ||
+ | ["typeName"] = "Anapa-Vityazevo", | ||
+ | ["displayName"] = "Anapa-Vityazevo", | ||
+ | } | ||
|staticFuncs= [[DCS_func_getByName|Airbase.getByName]] | |staticFuncs= [[DCS_func_getByName|Airbase.getByName]] |