setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added working example, which actually shows an icon.)
(return type is Object)
Line 18: Line 18:
|p3= showOnHUD: [[Boolean]] - [[true]] to show on HUD. Default - [[false]] |PARAMETER3=  
|p3= showOnHUD: [[Boolean]] - [[true]] to show on HUD. Default - [[false]] |PARAMETER3=  


| [[objNull]] |RETURNVALUE=  
| [[Object]] - always [[ObjNull]] |RETURNVALUE=  





Revision as of 11:22, 2 May 2019

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:
Uncategorised

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:
Object - always ObjNull

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