createGearDialog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[([a-zA-Z0-9_]+)\];?<\/code>" to "<sqf>$1 $2;</sqf>")
m (Fix regex)
Line 26: Line 26:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>createGearDialog player;</sqf>
|x1= <sqf>createGearDialog [player];</sqf>


|seealso= [[createDialog]] [[createDisplay]] [[action]]
|seealso= [[createDialog]] [[createDisplay]] [[action]]
}}
}}

Revision as of 14:19, 5 May 2022

Hover & click on the images for description

Description

Description:
Opens gear dialog for given unit.
action command can also be used:player action ["Gear", player];
Groups:
GUI Control

Syntax

Syntax:
createGearDialog [unit, resource]
Parameters:
unit: Object
resource: String - (Optional)
Return Value:
Nothing

Examples

Example 1:
createGearDialog [player];

Additional Information

See also:
createDialog createDisplay action

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