addGroupIcon

From Bohemia Interactive Community
Revision as of 22:00, 2 October 2018 by Killzone Kid (talk | contribs) (little formating tweak)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Add icon to a group. Returns icon ID
Groups:
Uncategorised

Syntax

Syntax:
group addGroupIcon [IconClass, offset]
Parameters:
group: Group - Group to add icon to
[IconClass, offset] - Array
IconClass: String - Class name of an icon from CfgGroupIcons
offset : Array (Optional) - X and Y offsets of the icon in form [offsetX, offsetY]
Return Value:
Number - Icon ID

Examples

Example 1:
groupName addGroupIcon ["b_inf", [offsetX, offsetY]]

Additional Information

See also:
clearGroupIconsgetGroupIcongetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectablesetGroupIconsVisible

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

Notes

Bottom Section