DCS Class Static Object: Difference between revisions
From DCS World Wiki - Hoggitworld.com
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
|desc= Represents static objects added in the Mission Editor or via scripting commands. | |desc= Represents static objects added in the Mission Editor or via scripting commands. | ||
|type= StaticObject.Category enum that stores StaticObject categories. | |type= StaticObject.Category enum that stores StaticObject categories.<br/>Note that StaticObject.Category values are <u>not</u> obtained by calling ''static'':getCategory() - that calls Object.getCategory(''static'') and will <u>always</u> return the value Object.Category.STATIC. Instead you need to use ''static'':getDesc().category to find the StaticObject.Category! | ||
StaticObject.Category = { | StaticObject.Category = { | ||
