{"name":"createGearDialog","operator":null,"title":"createGearDialog","type":"command","url":"https://community.bistudio.com/wiki/createGearDialog","revid":321391,"updated":"2022-05-14T11:20:25Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2","name":"Arma 2","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Opens gear dialog for given unit.\n\n> [!NOTE]\n> action command can also be used:\n>\n> ```sqf\n> player action [\"Gear\", player];\n> ```","syntaxes":[{"syntax":"createGearDialog [unit, resource]","since":null,"effect":null,"exec":null,"params":[{"name":"unit","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"unit: Object"},{"name":"resource","type":"String","optional":true,"default":null,"description":null,"types":["String"],"since":null,"text":"resource: String - (Optional)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[unit, resource]","types":["Array"]}}],"examples":[{"text":"```sqf\ncreateGearDialog [player];\n```","code":["createGearDialog [player];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["createDialog","createDisplay","action"],"notes":[],"categories":["Arma 2: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Introduced with Arma 2 version 1.00","Scripting Commands","Take On Helicopters: Scripting Commands"]}