setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 30: Line 30:
([[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:59, 20 January 2022

Hover & click on the images for description

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 getGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectable

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