setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 8: Line 7:


|gr1= High Command |GROUP1=
|gr1= High Command |GROUP1=
____________________________________________________________________________________________


| 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}} |DESCRIPTION=
{{Feature|arma3| Since Arma 3 v1.93.145657 this command returns [[Nothing]] as it should}} |DESCRIPTION=
____________________________________________________________________________________________


| '''setGroupIconsVisible''' [showOnMap, showOnHUD] |SYNTAX=
| '''setGroupIconsVisible''' [showOnMap, showOnHUD] |SYNTAX=
Line 30: Line 27:




____________________________________________________________________________________________


| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] |SEEALSO=  
| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:40, 17 January 2021

Hover & click on the images for description

Description

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

Arma 3
Since Arma 3 v1.93.145657 this command returns Nothing as it should
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

Notes

Bottom Section