getGroupIcon: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= * )+" to "") |
Killzone Kid (talk | contribs) No edit summary |
||
| (21 intermediate revisions by 3 users not shown) | |||
| 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 | |||
|arg= global | |arg= global | ||
|gr1= High Command | |gr1= High Command | ||
| Get group icon properties. | |descr= Get group icon properties. Since Arma 3 v2.22 command also returns 3d offsets. | ||
|s1= group [[getGroupIcon]] id | |||
| group | |p1= group: [[Group]] | ||
| | |p2= id: [[Number]] - icon id | ||
| | |r1= [[Array]] - [icon,[offsetx,offsety,offsetX3d,offsetY3d]] | ||
|x1= < | |x1= <sqf> | ||
_grpIcon = _group getGroupIcon _grpIconId;</ | _grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE"; | ||
_grpIcon = _group getGroupIcon _grpIconId; | |||
</sqf> | |||
| [[addGroupIcon]] | |seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcons]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]] | ||
}} | }} | ||
Latest revision as of 00:17, 30 October 2025
Description
- Description:
- Get group icon properties. Since Arma 3 v2.22 command also returns 3d offsets.
- Groups:
- High Command
Syntax
- Syntax:
- group getGroupIcon id
- Parameters:
- group: Group
- id: Number - icon id
- Return Value:
- Array - [icon,[offsetx,offsety,offsetX3d,offsetY3d]]
Examples
- Example 1:
Additional Information
- See also:
- addGroupIcon clearGroupIcons getGroupIcons getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note