Difference between revisions of "DCS func getStaticObjects"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 49: Line 49:
 
}}
 
}}
 
[[Category:Singleton Functions|getStaticObjects]]
 
[[Category:Singleton Functions|getStaticObjects]]
 +
[[Category:Game Patch 1.2.4|getStaticObjects]]

Latest revision as of 07:25, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getStaticObjects Added with: 1.2.4
Member Of: coalition
Syntax: table coalition.getStaticObjects(enum coalitionId )
Description: Returns a table of static objects belonging to the specified coalition.


Return Value: table
Return Example:
Examples:
Related Functions: Coalition Functions: addGroup, addStaticObject, getGroups, getStaticObjects, getAirbases. getPlayers, getServiceProviders, addRefPoint, getRefPoints, getMainRefPoint, getCountryCoalition
Notes: Due to a bug this function is returning dead groups in addition to the alive groups. You must