createGearDialog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
||
Line 18: | Line 18: | ||
<code>[[player]] [[action]] ["Gear", [[player]]];</code> | <code>[[player]] [[action]] ["Gear", [[player]]];</code> | ||
|s1= | |s1= '''createGearDialog''' [unit, resource] | ||
|p1= [unit, resource]: [[Array]] - | |p1= [unit, resource]: [[Array]] - |
Revision as of 15:39, 19 June 2021
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