Difference between revisions of "DCS Class Airbase"
From DCS World Wiki - Hoggitworld.com
(2 intermediate revisions by one other user not shown) | |||
Line 10: | Line 10: | ||
|desc= Represents airbases: airdromes, helipads and ships with flying decks or landing pads. | |desc= Represents airbases: airdromes, helipads and ships with flying decks or landing pads. | ||
− | |type= Airbase.Category enumerator that stores types of airbases by category. | + | |type= Airbase.Category enumerator that stores types of airbases. |
− | + | Note that Airbase.Category values are <u>not</u> obtained by calling ''airbase'':getCategory() - that calls Object.getCategory(''airbase'') and will <u>always</u> return the value Object.Category.BASE. Instead you need to use ''airbase'':getDesc().category to obtain the Airbase.Category! | |
Airbase.Category = { | Airbase.Category = { | ||
− | AIRDROME, | + | AIRDROME = 0, |
− | HELIPAD, | + | HELIPAD = 1, |
− | SHIP | + | SHIP = 2, |
Line 54: | Line 54: | ||
}} | }} | ||
+ | [[Category:Game Patch 1.2.4|Airbase class]] |