addGroupIcon: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(Added more details about arguments and return value) |
||
Line 14: | Line 14: | ||
|p1= group: [[Group]] - |= PARAMETER1 | |p1= group: [[Group]] - |= PARAMETER1 | ||
|p2= properties: [[Array]] - | |p2= properties: [[Array]] - [IconClass, offset (optional)] |= PARAMETER2 | ||
| | | [[Number]] - texture ID |= RETURNVALUE | ||
|x1= <code>groupName addGroupIcon ["b_inf",[offsetX,offsetY]]</code>|= EXAMPLE1 | |||
|x1= <code>groupName addGroupIcon ["b_inf",[offsetX, | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 14:13, 11 May 2017
Description
- Description:
- Add icon to a group. Returns icon ID
- Groups:
- Uncategorised
Syntax
- Syntax:
- group addGroupIcon properties
- Parameters:
- group: Group -
- properties: Array - [IconClass, offset (optional)]
- Return Value:
- Number - texture 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