addGroupIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added more details about arguments and return value)
Line 14: Line 14:
|p1= group: [[Group]] -  |= PARAMETER1  
|p1= group: [[Group]] -  |= PARAMETER1  


|p2= properties: [[Array]] - |= PARAMETER2  
|p2= properties: [[Array]] - [IconClass, offset (optional)] |= PARAMETER2  


|p3= |= PARAMETER3
| [[Number]] - texture ID |= RETURNVALUE


| [[Number]] |= RETURNVALUE


 
|x1= <code>groupName addGroupIcon ["b_inf",[offsetX,offsetY]]</code>|= EXAMPLE1  
|x1= <code>groupName addGroupIcon ["b_inf",[offsetX,ofsetY]]</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 14:13, 11 May 2017

Hover & click on the images for description

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

Notes

Bottom Section