getGroupIconParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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") |
m (arma 3 copy paste example) |
||
(18 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
|descr= Returns group icons params used for command bar drawing such as color, text, scale, visibility, waypoint visibility, waypoint color. | |descr= Returns group icons params used for command bar drawing such as color, text, scale, visibility, waypoint visibility, waypoint color. | ||
|s1= | |s1= [[getGroupIconParams]] group | ||
|p1= group: [[Group]] | |p1= group: [[Group]] | ||
|r1=[[Array]] in format [color, text, scale, visibility, WPvisibility WPcolor], where: | |r1= [[Array]] in format [color, text, scale, visibility, WPvisibility WPcolor], where: | ||
* color: [[Array]] - icon color in format [r,g,b,a] | * color: [[Array]] - icon color in format [r,g,b,a] | ||
* text: [[String]] - icon text | * text: [[String]] - icon text | ||
Line 29: | Line 29: | ||
* WPcolor: [[Array]] - waypoint color in format [r,g,b,a] | * WPcolor: [[Array]] - waypoint color in format [r,g,b,a] | ||
|x1= < | |x1= <sqf>_iconParams = getGroupIconParams group player;</sqf> | ||
|seealso= [[addGroupIcon]] | |x2= <sqf>getGroupIconParams group player params ["_color", "_text", "_scale", "_visibility", "_WPVisibility", "_WPColor"];</sqf> | ||
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]] | |||
}} | }} | ||
Latest revision as of 20:26, 30 August 2022
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:
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- addGroupIcon clearGroupIcons getGroupIcon groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconParams 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