setGroupIconParams: Difference between revisions
Jump to navigation
Jump to search
Fusselwurm (talk | contribs) (add locality info) |
(updated params) |
||
(35 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma2 | | |game1= arma2 | ||
|version1= 1.00 | |||
|1. | |game2= arma2oa | ||
|version2= 1.50 | |||
| | |game3= tkoh | ||
| | |version3= 1.00 | ||
| | |game4= arma3 | ||
|version4= 0.50 | |||
| | |eff= local | ||
|arg= global | |||
| | |gr1= High Command | ||
| | |descr= Set group icons parameters. | ||
| | |s1= group [[setGroupIconParams]] properties | ||
| [[ | |p1= group: [[Group]] | ||
|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= <sqf>_grp setGroupIconParams [[0.9,0,0,1], "The Group", 1.25, false];</sqf> | |||
| [[addGroupIcon]] | |seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]] | ||
}} | }} | ||
Latest revision as of 19:59, 25 December 2022
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:
- Return Value:
- Nothing
Examples
- Example 1:
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