createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 18: Line 18:
<code>[[player]] [[action]] ["Gear", [[player]]];</code>
<code>[[player]] [[action]] ["Gear", [[player]]];</code>


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


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

Revision as of 18:03, 20 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