Difference between revisions of "DCS Class Static Object"
From DCS World Wiki - Hoggitworld.com
(One intermediate revision by one other user not shown) | |||
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 = { | ||
Line 30: | Line 30: | ||
[[DCS_func_getDescByName|StaticObject.getDescByName]] | [[DCS_func_getDescByName|StaticObject.getDescByName]] | ||
− | |memberFuncs= | + | |memberFuncs= {{listofScriptingStaticFuncs}} |