Arma 3 Scripting

setGroupIconsVisible

  • Local effect
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

Sets if group icons added with addGroupIcon are visible on map and in the HUD.

Syntax

setGroupIconsVisible [showOnMap, showOnHUD]

Parameters:

Returns: Nothing (prior to Arma 3 v1.94 this command returned Object of null value)

Examples

Example 1

setGroupIconsVisible [true, true];
(group player) addGroupIcon ["b_inf", [0, 0]];

See also

addGroupIcon · clearGroupIcons · getGroupIcon · getGroupIconParams · groupIconSelectable · groupIconsVisible · onGroupIconClick · removeGroupIcon · setGroupIcon · setGroupIconParams · setGroupIconsSelectable

Community notes

Larrow

If enabling for MARTA (Military Symbols) and using teamSwitch this command needs to be run again once switched to the new unit. Possibly do it in a mission eventHandler of TeamSwitch.