TODO: dynamic-group UI helper exported by DCS; installed Lua sources do not expose its stable payload contract. Prefer addGroup.
Dynamically creates a group for a country. The mission-table schema depends on group category.
Value from country.id.
Value from Group.Category.
Mission-format group data.
Created group.
Adds a coalition JTAC reference/navigation point. The callsign, type, and full three-dimensional point are required by DCS.
Value from coalition.side.
Complete reference-point data.
Nothing.
Dynamically creates a static object for a country.
Value from country.id.
Mission-format static-object data.
Created static object.
TODO: cargo-choice validation uses an engine-native payload absent from installed scripting documentation.
TODO: troop-descent validation uses an engine-native payload absent from installed scripting documentation.
Returns airbase-like objects assigned to a coalition. Results may include map airfields, FARPs, and ships that expose airbase services.
Coalition identifier whose airbases should be returned.
Airbases currently assigned to the coalition.
TODO: returned descent records have an unpublished, version-dependent engine schema.
Maps a country to its current coalition.
Value from country.id.
Value from coalition.side.
TODO: returned onboard-descent records have an unpublished, version-dependent engine schema.
Returns groups belonging to a coalition. Supplying groupCategory
restricts the result to that category; omitting it returns groups from all
categories. Category values are defined by Group.Category.
Coalition identifier, normally coalition.side.RED, BLUE, or NEUTRAL.
OptionalgroupCategory: number
Optional group category such as Group.Category.AIRPLANE or GROUND.
Group objects currently belonging to the requested coalition and category.
Returns the coalition's primary reference point.
Value from coalition.side.
Main reference point, or undefined when none exists.
Returns player-controlled units currently spawned for a coalition. Combined Arms-controlled units may be omitted.
Value from coalition.side.
Player units.
Returns all reference points belonging to a coalition. Missions without reference points can return nothing.
Value from coalition.side.
Reference-point records, or undefined when none are configured.
Returns units providing a coalition service such as tanker, AWACS, or FAC.
Value from coalition.side.
Value from coalition.service.
Service-provider units.
Returns static objects belonging to a coalition. This does not return active unit objects or scenery objects.
Coalition identifier whose static objects should be returned.
Static objects currently assigned to the coalition.
TODO: removes a group through an engine-native dynamic-spawn identifier whose type is not published. Prefer Group.destroy when an object is available.
No Self