getGroupIconParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (Added example from HC.)
Line 21: Line 21:




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <pre>_icon = _this getVariable "icon";
//[color,text,scale,visible]
_params = getGroupIconParams _icon;
_color        = _params select 0;
_text        = _params select 1;
_scale        = _params select 2;
_visible    = _params select 3;</pre>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 16:20, 15 September 2010

Hover & click on the images for description

Description

Description:
Returns group icons params. [color,text,scale,visible]
Groups:
Uncategorised

Syntax

Syntax:
getGroupIconParams group
Parameters:
group: Group -
Return Value:
Array

Examples

Example 1:
_icon = _this getVariable "icon";
//[color,text,scale,visible]
_params = getGroupIconParams _icon;
_color         = _params select 0;
_text         = _params select 1;
_scale         = _params select 2;
_visible     = _params select 3;

Additional Information

See also:
See also needed

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