setGroupIconsVisible: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - ";[ ]+ " to "; ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 17: | Line 17: | ||
|gr1= High Command | |gr1= High Command | ||
|descr= Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD. | |descr= Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD. | ||
|s1= [[setGroupIconsVisible]] [showOnMap, showOnHUD] | |s1= [[setGroupIconsVisible]] [showOnMap, showOnHUD] | ||
|p1= [ | |p1= showOnMap: [[Boolean]] - [[true]] to show on map. Default is [[false]] | ||
|p2= | |p2= showOnHUD: [[Boolean]] - [[true]] to show on HUD. Default is [[false]] | ||
| | |r1= [[Nothing]] (prior to {{arma3}} v1.94 this command returned [[Object]] of [[objNull|null]] value) | ||
| | |x1= <code>[[setGroupIconsVisible]] [<nowiki/>[[true]], [[true]]]; | ||
([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code> | ([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code> | ||
|seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] | |seealso= [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] | ||
}} | }} |
Revision as of 18:53, 25 November 2021
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:
- addGroupIconclearGroupIconsgetGroupIcongetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectable
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