setGroupIconsVisible: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|eff= local | |eff= local | ||
|1.00 | |1.00 | ||
|gr1= High Command | |gr1= High Command | ||
| Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD.<br><br> | | Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD.<br><br> | ||
{{Feature|arma3| Since Arma 3 v1.93.145657 this command returns [[Nothing]] as it should}} | {{Feature|arma3| Since Arma 3 v1.93.145657 this command returns [[Nothing]] as it should}} | ||
| '''setGroupIconsVisible''' [showOnMap, showOnHUD] | | '''setGroupIconsVisible''' [showOnMap, showOnHUD] | ||
|p1= [showOnMap, showOnHUD]: [[Array]] | |p1= [showOnMap, showOnHUD]: [[Array]] | ||
|p2= showOnMap: [[Boolean]] - [[true]] to show on map. Default - [[false]] | |p2= showOnMap: [[Boolean]] - [[true]] to show on map. Default - [[false]] | ||
|p3= showOnHUD: [[Boolean]] - [[true]] to show on HUD. Default - [[false]] | |p3= showOnHUD: [[Boolean]] - [[true]] to show on HUD. Default - [[false]] | ||
| [[Nothing]] (prior to Arma 3 v1.93.145657 this command returned [[Object]] of [[objNull | null]] value) | | [[Nothing]] (prior to Arma 3 v1.93.145657 this command returned [[Object]] of [[objNull | null]] value) | ||
|x1= <code>[[setGroupIconsVisible]] [true,true]; | |x1= <code>[[setGroupIconsVisible]] [true,true]; | ||
([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code> | ([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code> | ||
| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] | | [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:09, 18 January 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, showOnHUD]: Array
- showOnMap: Boolean - true to show on map. Default - false
- showOnHUD: Boolean - true to show on HUD. Default - false
- Return Value:
- Nothing (prior to Arma 3 v1.93.145657 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