createGearDialog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control | |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> | <code>[[player]] [[action]] ["Gear", [[player]]];</code> | ||
| '''createGearDialog''' [unit, resource] | | '''createGearDialog''' [unit, resource] | ||
|p1= [unit, resource]: [[Array]] - | |p1= [unit, resource]: [[Array]] - | ||
|p2= unit: [[Object]] | |p2= unit: [[Object]] | ||
|p3= resource (Optional): [[String]] | |p3= resource (Optional): [[String]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[createGearDialog]] [player]; | |x1= <code>[[createGearDialog]] [player]; | ||
</code> | </code> | ||
| [[createDialog]], [[createDisplay]] | | [[createDialog]], [[createDisplay]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:12, 18 January 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