createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|gr1= GUI Control |GROUP1=
|gr1= GUI Control


| Opens gear dialog for given unit. Alternatively use [[action]] command:
| Opens gear dialog for given unit. Alternatively use [[action]] command:
<code>[[player]] [[action]] ["Gear", [[player]]];</code> |DESCRIPTION=
<code>[[player]] [[action]] ["Gear", [[player]]];</code>


| '''createGearDialog''' [unit, resource] |SYNTAX=
| '''createGearDialog''' [unit, resource]


|p1= [unit, resource]: [[Array]] - |PARAMETER1=
|p1= [unit, resource]: [[Array]] -


|p2= unit: [[Object]] |PARAMETER2=
|p2= unit: [[Object]]


|p3= resource (Optional): [[String]] |PARAMETER3=
|p3= resource (Optional): [[String]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>[[createGearDialog]] [player];
|x1= <code>[[createGearDialog]] [player];
</code>|EXAMPLE1=
</code>




| [[createDialog]], [[createDisplay]] |SEEALSO=
| [[createDialog]], [[createDisplay]]


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:12, 18 January 2021

Hover & click on the images for description

Description

Description:
Opens gear dialog for given unit. Alternatively use action command: player action ["Gear", player];
Groups:
GUI Control

Syntax

Syntax:
createGearDialog [unit, resource]
Parameters:
[unit, resource]: Array -
unit: Object
resource (Optional): String
Return Value:
Nothing

Examples

Example 1:
createGearDialog [player];

Additional Information

See also:
createDialogcreateDisplay

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