setGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
(updated params)
 
(29 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>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[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