Difference between revisions of "DCS func getAirbases"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
(No difference)

Revision as of 00:12, 12 April 2018

Scripting Root

Envrioment: Mission Scripting
Function: getAirbases Added with: 1.2.4
Member Of: coalition, world
Syntax: table coalition.getAirbases(enum coalitionId )
Description: Returns a table of airbase objects belonging to the specified coalition. Objects can be ships, static objects(FARP), or airbases on the map.

When the function is run as world.getAirbases() no input values required, and the function returns all airbases, ships, and farps on the map.


Return Value: table
Return Example:
Examples:
Related Functions: Coalition Functions: addGroup, addStaticObject, getGroups, getStaticObjects, getAirbases. getPlayers, getServiceProviders, addRefPoint, getRefPoints, getMainRefPoint, getCountryCoalition

World functions: addEventHandler, removeEventHandler, getPlayer, getAirbases, searchObjects, getMarkPanels, removeJunk

Notes: