setGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(updated params)
 
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|version1= 1.00


|1.00|Game version=
|game2= arma2oa
|version2= 1.50


|eff= local|Multiplayer Effects=
|game3= tkoh
|arg= global|Multiplayer Arguments=
|version3= 1.00


|gr1= High Command |GROUP1=
|game4= arma3
____________________________________________________________________________________________
|version4= 0.50


| Set group icons parameters. [color,string,float,bool] |DESCRIPTION=
|eff= local
____________________________________________________________________________________________
|arg= global


| group '''setGroupIconParams''' properties |SYNTAX=
|gr1= High Command


|p1= group: [[Group]] -  |PARAMETER1=
|descr= Set group icons parameters.


|p2= properties: [[Array]] -  |PARAMETER2=
|s1= group [[setGroupIconParams]] properties


|p3= |PARAMETER3=  
|p1= group: [[Group]]


| [[Nothing]] |RETURNVALUE=
|p2= properties: [[Array]] in format [color, text, scale, visibility, WPvisibility WPcolor], where:
* color: [[Array]] - icon color in format [r,g,b,a]
* text: [[String]] - icon text
* scale: [[Number]] - icon scale
* visibility: [[Boolean]] - icon visibility
* WPvisibility: [[Boolean]] - waypoint visibility
* WPcolor: [[Array]] - waypoint color in format [r,g,b,a]


|r1= [[Nothing]]


|x1= <pre>_grp setGroupIconParams [_color,_text,_scale,_visible];
|x1= <sqf>_grp setGroupIconParams [[0.9,0,0,1], "The Group", 1.25, false];</sqf>
_grp setGroupIconParams [[0,0,0,0],"",1,false];</pre>|EXAMPLE1=


____________________________________________________________________________________________
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]]
 
| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIcon]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 19:59, 25 December 2022

Hover & click on the images for description

Description

Description:
Set group icons parameters.
Groups:
High Command

Syntax

Syntax:
group setGroupIconParams properties
Parameters:
group: Group
properties: Array in format [color, text, scale, visibility, WPvisibility WPcolor], where:
  • color: Array - icon color in format [r,g,b,a]
  • text: String - icon text
  • scale: Number - icon scale
  • visibility: Boolean - icon visibility
  • WPvisibility: Boolean - waypoint visibility
  • WPcolor: Array - waypoint color in format [r,g,b,a]
Return Value:
Nothing

Examples

Example 1:
_grp setGroupIconParams [[0.9,0,0,1], "The Group", 1.25, false];

Additional Information

See also:
addGroupIcon clearGroupIcons getGroupIcon getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconsSelectable setGroupIconsVisible

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