getGroupIcon: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "<sqf>([^↵][^\/]*↵[^\/]*)<\/sqf>" to "<sqf> $1 </sqf>")
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma2 |Game name=
|game1= arma2
|1.00|Game version=
|version1= 1.00
|arg= global|Multiplayer Arguments=


|gr1= High Command |GROUP1=
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Get group icon properties. |DESCRIPTION=
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| group '''getGroupIcon''' ID |SYNTAX=
|game4= arma3
|version4= 0.50


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


|p2= ID: [[Number]] -  |PARAMETER2=  
|gr1= High Command


|p3= |PARAMETER3=  
|descr= Get group icon properties.


| [[Array]] |RETURNVALUE=
|s1= group [[getGroupIcon]] id


|p1= group: [[Group]]


|x1= <pre>_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
|p2= id: [[Number]] - icon id
_grpIcon = _group getGroupIcon _grpIconId;</pre>|EXAMPLE1=  


____________________________________________________________________________________________
|r1= [[Array]]


| [[addGroupIcon]], [[clearGroupIcons]], [[getGroupIconParams]], [[groupIconSelectable]], [[groupIconsVisible]], [[onGroupIconClick]], [[removeGroupIcon]], [[setGroupIcon]], [[setGroupIconParams]], [[setGroupIconsSelectable]], [[setGroupIconsVisible]] |SEEALSO=  
|x1= <sqf>
_grpIconId = _group getVariable "BIS_MARTA_ICON_TYPE";
_grpIcon = _group getGroupIcon _grpIconId;
</sqf>


| |MPBEHAVIOUR=  
|seealso= [[addGroupIcon]] [[clearGroupIcons]] [[getGroupIcons]] [[getGroupIconParams]] [[groupIconSelectable]] [[groupIconsVisible]] [[onGroupIconClick]] [[removeGroupIcon]] [[setGroupIcon]] [[setGroupIconParams]] [[setGroupIconsSelectable]] [[setGroupIconsVisible]]
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11:34, 3 September 2024

Hover & click on the images for description

Description

Description:
Get group icon properties.
Groups:
High Command

Syntax

Syntax:
group getGroupIcon id
Parameters:
group: Group
id: Number - icon id
Return Value:
Array

Examples

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

Additional Information

See also:
addGroupIcon clearGroupIcons getGroupIcons getGroupIconParams groupIconSelectable groupIconsVisible onGroupIconClick removeGroupIcon setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible

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