{"name":"BIN_fnc_getFormattedControl","operator":null,"title":"BIN fnc getFormattedControl","type":"function","url":"https://community.bistudio.com/wiki/BIN_fnc_getFormattedControl","revid":309599,"updated":"2022-05-05T12:07:29Z","groups":["Contact"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.94"}],"since":{"game":"arma3","name":"Arma 3","version":"1.94"},"arma3_since":"1.94","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Return a formatted string of a mapped control (same style as the Field Manual and Hints)\n\n> [!NOTE]\n> This content is exclusive to the Arma 3 Contact Expansion.","syntaxes":[{"syntax":"[param0] call BIN_fnc_getFormattedControl","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"String","types":["String"],"optional":true,"default":null,"description":"name of the control action\n1 (Optional): SCALAR - 0-based index of the mapped control","since":null,"text":"0: STRING - name of the control action\n1 (Optional): SCALAR - 0-based index of the mapped control","source":"docblock"}],"returns":{"type":"String","types":["String"],"description":null,"text":"STRING - formatted control","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Contact","Functions","Introduced with Arma 3 version 1.94"],"docblock":{"author":null,"description":"Return a formatted string of a mapped control (same style as the Field Manual and Hints)","params":[{"index":0,"name":null,"types":["String"],"optional":true,"default":null,"description":"name of the control action\n1 (Optional): SCALAR - 0-based index of the mapped control","text":"STRING - name of the control action\n1 (Optional): SCALAR - 0-based index of the mapped control"}],"returns":{"types":["String"],"text":"STRING - formatted control"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nReturn a formatted string of a mapped control (same style as the Field Manual and Hints)\n\nParameter(s):\n    0: STRING - name of the control action\n    1 (Optional): SCALAR - 0-based index of the mapped control\n\nReturns:\nSTRING - formatted control"},"filled_from_docblock":["params","syntax","returns","description"]}