setGroupIconsVisible: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*)<\/code>" to "<code>$1$2$3 $4</code>") |
||
Line 27: | Line 27: | ||
|r1= [[Nothing]] (prior to {{arma3}} v1.94 this command returned [[Object]] of [[objNull|null]] value) | |r1= [[Nothing]] (prior to {{arma3}} v1.94 this command returned [[Object]] of [[objNull|null]] value) | ||
|x1= <code>setGroupIconsVisible [<nowiki/>true, | |x1= <code>setGroupIconsVisible [<nowiki/>true, true]; | ||
(group player) addGroupIcon ["b_inf", [0, 0]];</code> | (group player) addGroupIcon ["b_inf", [0, 0]];</code> | ||
Revision as of 11:40, 12 May 2022
Description
- Description:
- Sets if group icons added with addGroupIcon are visible on map and in the HUD.
- Groups:
- High Command
Syntax
- Syntax:
- setGroupIconsVisible [showOnMap, showOnHUD]
- Parameters:
- showOnMap: Boolean - true to show on map. Default is false
- showOnHUD: Boolean - true to show on HUD. Default is false
- Return Value:
- 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]];
Additional Information
- See also:
- addGroupIcon clearGroupIcons getGroupIcon getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconParams setGroupIconsSelectable
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Feb 06, 2022 - 09:59 (UTC)
- 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.