Activates a group through Group.activate.
This is normally used with a group configured for late activation.
Group object to activate.
Nothing.
const reinforcements = Group.getByName("Red Reinforcements");
if (reinforcements) trigger.action.activateGroup(reinforcements);
Adds an F10 Other command that sets a user flag for all coalitions.
If userFlagValue is omitted, DCS sets the flag to true.
Text displayed in the F10 Other radio menu.
Name or numeric identifier of the mission user flag.
OptionaluserFlagValue: unknown
Value assigned when a player selects the command. Defaults to true.
Nothing.
Adds an F10 Other command that sets a user flag for one coalition.
Players in other coalitions do not see the command. If userFlagValue
is omitted, DCS sets the flag to true.
Coalition identifier, normally coalition.side.RED, BLUE, or NEUTRAL.
Text displayed in the coalition's F10 Other menu.
Name or numeric identifier of the mission user flag.
OptionaluserFlagValue: unknown
Value assigned when selected. Defaults to true.
Nothing.
trigger.action.addOtherCommandForCoalition(
coalition.side.BLUE,
"Request support",
"blue_support",
1,
);
Adds an F10 Other command that sets a user flag for one group.
If userFlagValue is omitted, DCS sets the flag to true.
Runtime ID returned by Group.getID().
Text displayed in the group's F10 Other menu.
Name or numeric identifier of the mission user flag.
OptionaluserFlagValue: unknown
Value assigned when selected. Defaults to true.
Nothing.
const group = Group.getByName("Springfield 1");
if (group) {
trigger.action.addOtherCommandForGroup(
group.getID(),
"Mark target",
"springfield_mark",
1,
);
}
Draws an arrow on the F10 map. Coalition -1 means all.
OptionalreadOnly: booleanOptionalmessage: stringDraws a circle on the F10 map.
OptionalreadOnly: booleanOptionalmessage: stringEnables or disables the CTF smoke trail for a named aircraft. Color 0 disables it; 1..5 select smoke colors.
Optionalaltitude: numberDestroys a group through Group.destroy.
The group and all of its units are removed from the mission.
Group object to deactivate and destroy.
Nothing.
Starts a named large smoke/fire effect. Density is 0..1. Hoggit's example omits name, but its syntax and effectSmokeStop require the name, so this signature follows the complete contract.
Stops the named effect created by effectSmokeBig.
Creates an explosion at a world point. power is TNT equivalent in kilograms.
Resumes the group by clearing its controller's StopRoute command.
Group whose route should resume.
Nothing.
const convoy = Group.getByName("Convoy");
if (convoy) trigger.action.groupContinueMoving(convoy);
Stops the group by sending its controller a StopRoute command.
This pauses route movement without disabling the AI controller.
Group whose route should be stopped.
Nothing.
Creates an illumination bomb above a world point. power controls luminous intensity.
Draws a line on the F10 map. Coalition -1 means all.
OptionalreadOnly: booleanOptionalmessage: stringAdds an F10-map mark visible to all coalitions. IDs share the markup namespace and must be unique.
OptionalreadOnly: booleanOptionalmessage: stringAdds an F10-map mark visible to one coalition.
OptionalreadOnly: booleanOptionalmessage: stringNative variable-arity markup entry point. Prefer the shape-specific helpers above. TODO: DCS does not publish a stable tuple schema for every shape, so parameters remain unknown rather than incorrectly typed.
Plays a mission audio resource for every player.
Plays a mission audio resource for one coalition.
Plays a mission audio resource for one country.
Plays a mission audio resource for one group.
Plays a mission audio resource for one unit.
TODO: DCS exports this native function but the installed scripts and Hoggit do not expose its parameter contract.
Displays text to every player for displayTime seconds.
OptionalclearView: booleanDisplays text to one group.
OptionalclearView: booleanDisplays text to one unit.
OptionalclearView: booleanPushes the mission-editor triggered task at taskIndex onto a group's task stack. Indices are one-based.
Draws a four-point polygon.
OptionalreadOnly: booleanOptionalmessage: stringBroadcasts a mission audio resource from a world point. Frequency is Hz and power is watts.
Draws a rectangle whose opposite corners are startPoint and endPoint.
OptionalreadOnly: booleanOptionalmessage: stringRemoves a mark or markup shape by its unique ID.
Removes an F10 Other command available to all coalitions.
The name must match the one passed to addOtherCommand.
Menu command name to remove.
Nothing.
Removes an F10 Other command from one coalition. Both arguments must match those used to create the command.
Coalition whose menu contains the command.
Menu command name to remove.
Nothing.
Removes an F10 Other command from one group. Both arguments must match those used to create the command.
Runtime ID of the group whose menu contains the command.
Menu command name to remove.
Nothing.
const group = Group.getByName("Springfield 1");
if (group) {
trigger.action.removeOtherCommandForGroup(group.getID(), "Mark target");
}
Assigns the mission-editor triggered task at taskIndex to a group. Indices are one-based.
Disables the group's AI controller.
Group whose controller should be disabled.
Nothing.
Enables the group's AI controller.
Group whose controller should be enabled.
Nothing.
Changes a text markup's font size.
Changes a circle markup's radius in metres.
Changes a markup's text.
Sets the internal cargo mass of a named unit in kilograms.
Sets a mission flag to a boolean, number, or string value.
Fires a signal flare at point; azimuth is in radians.
Stops a named transmission.
Draws text on the F10 map.
Emits a numeric mission user event.
No Self