DCS func getStaticObjects

From DCS World Wiki - Hoggitworld.com

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:
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