setGroupIconsVisible: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(fixed)
(12 intermediate revisions by 4 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets if group icons are visible. |= Description
| 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''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. Default - [[false]] |PARAMETER2=  


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


| Nothing |= RETURNVALUE
| [[Nothing]] (prior to Arma 3 v1.93.145657 this command returned [[Object]] of [[objNull | null]] value) |RETURNVALUE=
 
 
|x1= <code>[[setGroupIconsVisible]] [true,true]; 
([[group]] [[player]]) [[addGroupIcon]] ["b_inf", [0, 0]];</code>|EXAMPLE1=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[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=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 43: Line 45:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 18:23, 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.

Template:Feature arma3
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:
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