getGroupIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (global args)
m (template:command argument fix)
Line 12: Line 12:
| group '''getGroupIcon''' ID |= Syntax
| group '''getGroupIcon''' ID |= Syntax


|p1= group: [[Group]] -  |= PARAMETER1
|p1= group: [[Group]] -  |PARAMETER1=  


|p2= ID: [[Number]] -  |= PARAMETER2
|p2= ID: [[Number]] -  |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Array]] |= RETURNVALUE
| [[Array]] |RETURNVALUE=  




|x1= <pre>_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
|x1= <pre>_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
_grpIcon = _group getGroupIcon _grpIconId;</pre>|= EXAMPLE1
_grpIcon = _group getGroupIcon _grpIconId;</pre>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] |= SEEALSO
| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:31, 7 April 2019

Hover & click on the images for description

Description

Description:
Get group icon properties.
Groups:
Uncategorised

Syntax

Syntax:
group getGroupIcon ID
Parameters:
group: Group -
ID: Number -
Return Value:
Array

Examples

Example 1:
_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
_grpIcon = _group getGroupIcon _grpIconId;

Additional Information

See also:
addGroupIconclearGroupIconsgetGroupIconParamsgroupIconSelectablegroupIconsVisibleonGroupIconClickremoveGroupIconsetGroupIconsetGroupIconParamssetGroupIconsSelectablesetGroupIconsVisible

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