setGroupIcon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {{uc:{{PAGENAME}}}}" to "") |
(updated SeeAlso) |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|1.00 | |game2= arma2oa | ||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= High Command | |gr1= High Command | ||
| Sets group icon properties. | |descr= Sets group icon properties. | ||
| group | |s1= group [[setGroupIcon]] [id, icon, offset] | ||
|p1= group: [[Group]] | |p1= group: [[Group]] | ||
| | |p2= id: [[Number]] - the icon ID returned by [[addGroupIcon]] | ||
| | |p3= icon: [[String]] - class name of desired icon from CfgGroupIcons | ||
| | |p4= offset: [[Array]] - (Optional, default [0,0]) X and Y offsets of the icon in form [offsetX, offsetY] | ||
| [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf> | ||
_target | _target setGroupIcon [_icon, "hc_selectedEnemy"]; | ||
_target setGroupIcon [_icon, "flag"]; | |||
|seealso= [[addGroupIcon]] | _group setGroupIcon [_icon, _iconsClass, _offset]; | ||
</sqf> | |||
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcon]] [[getGroupIcons]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]] | |||
}} | }} | ||
Latest revision as of 07:10, 14 February 2023
Description
- Description:
- Sets group icon properties.
- Groups:
- High Command
Syntax
- Syntax:
- group setGroupIcon [id, icon, offset]
- Parameters:
- group: Group
- id: Number - the icon ID returned by addGroupIcon
- icon: String - class name of desired icon from CfgGroupIcons
- offset: Array - (Optional, default [0,0]) X and Y offsets of the icon in form [offsetX, offsetY]
- Return Value:
- Nothing
Examples
- Example 1:
- _target setGroupIcon [_icon, "hc_selectedEnemy"]; _target setGroupIcon [_icon, "flag"]; _group setGroupIcon [_icon, _iconsClass, _offset];
Additional Information
- See also:
- addGroupIcon clearGroupIcons getGroupIcon getGroupIcons getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon 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