setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
Line 19: Line 19:
|descr= Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD.{{Feature|arma3| Since Arma 3 v1.94 this command returns [[Nothing]] as it should}}
|descr= Sets if group icons added with [[addGroupIcon]] are visible on map and in the HUD.{{Feature|arma3| Since Arma 3 v1.94 this command returns [[Nothing]] as it should}}


|s1= '''setGroupIconsVisible''' [showOnMap, showOnHUD]
|s1= '''setGroupIconsVisible''' [showOnMap, showOnHUD]


|p1= [showOnMap, showOnHUD]: [[Array]]
|p1= [showOnMap, showOnHUD]: [[Array]]

Revision as of 23:30, 19 June 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.94 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.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