addGroupIcon: Difference between revisions
Jump to navigation
Jump to search
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands) |
m (Bot: Reverted to revision 109311 by killzone_kid on 2018-10-02T20:00:39Z) |
||
Line 41: | Line 41: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Arma 3: | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category: | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 18:44, 3 December 2018
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