getGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * (\| *.[^a])" to "|game1= arma2 |version1= $1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 $2")
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00
 
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|gr1= High Command
|gr1= High Command

Revision as of 01:13, 14 June 2021

Hover & click on the images for description

Description

Description:
Returns group icons params used for command bar drawing such as color, text, scale, visibility, waypoint visibility, waypoint color.
Groups:
High Command

Syntax

Syntax:
getGroupIconParams group
Parameters:
group: Group
Return Value:
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]

Examples

Example 1:
_iconParams = getGroupIconParams group player;

Additional Information

See also:
addGroupIconclearGroupIconsgetGroupIcongroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectablesetGroupIconsVisible

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