createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 15: Line 15:
|gr1= GUI Control
|gr1= GUI Control


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



Revision as of 21:59, 13 June 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