createGearDialog: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]2(\|.*)]]" to "{{GameCategory|arma2|Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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