DCS func getServiceProviders

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getServiceProviders Added with: 1.2.4
Member Of: coalition
Syntax: table coalition.getServiceProviders(enum coalitionId , enum coalition.service )
Description: Returns a table of unit objects that provide a given service to player controlled aircraft. Services are ATC, AWACS, TANKER, and FAC.

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