setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''setGroupIconsVisible''' array |= Syntax
| '''setGroupIconsVisible''' [showOnMap, showOnHUD] |= Syntax


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


|p2= |= PARAMETER2  
|p2= showOnMap: [[Boolean]] - [[true]] to show on map |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= showOnHUD: [[Boolean]] - [[true]] to show on HUD|= PARAMETER3  


| Nothing |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <pre>setGroupIconsVisible [true,true];//[show markers on map, show markers on player hud]
|x1= <code>[[setGroupIconsVisible]] [true, true]; // Show markers on map and on player HUD
setGroupIconsVisible [true,false]; //Show only 2D
[[setGroupIconsVisible]] [true, false]; // Show only 2D
setGroupIconsVisible [false,false];</pre>|= EXAMPLE1  
[[setGroupIconsVisible]] [false, false]; // Don't show</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 09:49, 16 December 2018

Hover & click on the images for description

Description

Description:
Sets if group icons are visible.
Groups:
Uncategorised

Syntax

Syntax:
setGroupIconsVisible [showOnMap, showOnHUD]
Parameters:
[showOnMap, showOnHUD]: Array
showOnMap: Boolean - true to show on map
showOnHUD: Boolean - true to show on HUD
Return Value:
Nothing

Examples

Example 1:
setGroupIconsVisible [true, true]; // Show markers on map and on player HUD setGroupIconsVisible [true, false]; // Show only 2D setGroupIconsVisible [false, false]; // Don't show

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