Activates a late-activation group and inserts its units into the simulation.
Nothing.
Destroys the group and all of its units.
Nothing.
TODO: troop-embarkation payload is an undocumented engine-native structure. This explicit override prevents an any[] API.
Enables or disables supported sensor emissions for the group.
Desired emission state.
Nothing.
Looks up a group by its exact mission name. The function can return groups
configured for late activation, and returns nil when no matching group is
known to the mission.
Exact Mission Editor or dynamically assigned group name.
Matching group object, or undefined when not found.
Returns the coalition that currently owns the group. Compare the result
with coalition.side.NEUTRAL, RED, or BLUE rather than relying on the
underlying numeric values.
Coalition identifier from coalition.side.
Returns the AI controller used to assign tasks and commands to the group. Ships and ground units are controlled at group level; aircraft may also expose unit-level controllers.
Group controller.
Returns the group's runtime mission identifier. The ID is suitable for APIs
such as trigger.action.addOtherCommandForGroup, but should not be treated
as a stable identifier across separate mission runs.
Numeric runtime group ID.
Returns the number of units with which the group was created. Unlike getSize, this does not fall as units are destroyed.
Initial unit count.
Returns the group's mission name as assigned in the Mission Editor or when the group was spawned dynamically.
Group name.
Returns the unit at a one-based Lua group index. DCS returns nil when the
index is outside the group's current range.
One-based unit index between 1 and getSize().
Unit at the requested index, or undefined when it does not exist.
Returns the group's surviving units in their current group order.
Array of unit objects. An empty array indicates no remaining units.
Reports whether the group still exists.
Existence state.
TODO: engine-native group marking contract is absent from installed Lua sources and Hoggit.
Version
2.9.29.27468