setGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated)
(updated params)
 
(53 intermediate revisions by 10 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


| Set group icons parameters. [color,string,float,bool] |= Description
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| group '''setGroupIconParams''' properties |= Syntax
|game4= arma3
|version4= 0.50


|p1= group: [[Group]] -  |= PARAMETER1
|eff= local
|arg= global


|p2= properties: [[Array]] -  |= PARAMETER2
|gr1= High Command


|p3= |= PARAMETER3
|descr= Set group icons parameters.


| Nothing |= RETURNVALUE
|s1= group [[setGroupIconParams]] properties


|p1= group: [[Group]]


|x1= <code>(example)</code>|= EXAMPLE1
|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]]


| |= SEEALSO
|x1= <sqf>_grp setGroupIconParams [[0.9,0,0,1], "The Group", 1.25, false];</sqf>


| |= MPBEHAVIOUR
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]]
____________________________________________________________________________________________
}}
}}
<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:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{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