setGroupIcon: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 15: | Line 15: | ||
|gr1= High Command | |gr1= High Command | ||
| Sets group icon properties. | |descr= Sets group icon properties. | ||
|s1= group '''setGroupIcon''' [id, icon, offset] | |s1= group '''setGroupIcon''' [id, icon, offset] |
Revision as of 21:21, 13 June 2021
Description
- Description:
- Sets group icon properties.
- Groups:
- High Command
Syntax
- Syntax:
- group setGroupIcon [id, icon, offset]
- Parameters:
- group: Group
- [id, icon, offset] : Array
- id: Number - The icon ID returned by addGroupIcon
- icon: String - Class name of desired icon from CfgGroupIcons
- offset: Array (Optional) - 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"]; _grp setGroupIcon [_iconsize, _iconsizeclass, _offset]; _grp setGroupIcon [_newid, _icon, _offset]; _grp setGroupIcon [_icon, _iconclass];
Additional Information
- See also:
- addGroupIconclearGroupIconsgetGroupIcongetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconParamssetGroupIconsSelectablesetGroupIconsVisible
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