createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 7: Line 6:


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


| 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> |DESCRIPTION=
____________________________________________________________________________________________


| '''createGearDialog''' [unit, resource] |SYNTAX=
| '''createGearDialog''' [unit, resource] |SYNTAX=
Line 27: Line 24:
</code>|EXAMPLE1=  
</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


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



Revision as of 00:23, 17 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