{"name":"BIS_fnc_kbMenu","operator":null,"title":"BIS fnc kbMenu","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_kbMenu","revid":309849,"updated":"2022-05-05T12:09:52Z","groups":["Conversations"],"status":"ok","replaced_by":[],"games":[{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Opens conversation menu. Script terminates itself when menu selection is finished.","syntaxes":[{"syntax":"[param0] call BIS_fnc_kbMenu","since":null,"effect":null,"exec":null,"params":[{"name":"param0","type":"Array, String","types":["Array","String"],"optional":false,"default":"option when menu is closed without selecting anything","description":"List of responses (of type ARRAY) or Menu name\nResponses are in format:\n_response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.\n_response select 1:\n    STRING - expression\n    ARRAY - BIS_fnc_kbTell params","since":null,"text":"0: ARRAY or STRING - List of responses (of type ARRAY) or Menu name\nResponses are in format:\n_response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.\n_response select 1:\n    STRING - expression\n    ARRAY - BIS_fnc_kbTell params","source":"docblock"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"NUMBER - ID of select option","source":"docblock"},"inferred":true}],"examples":[],"multiplayer":null,"problems":null,"aliases":[],"see_also":[],"notes":[],"categories":["Arma 3: Functions","Function Group: Conversations","Functions","Introduced with Take On Helicopters version 1.00","Take On Helicopters: Functions","Take On Helicopters: New Functions"],"docblock":{"author":null,"description":"Opens conversation menu. Script terminates itself when menu selection is finished.","params":[{"index":0,"name":null,"types":["Array","String"],"optional":false,"default":"option when menu is closed without selecting anything","description":"List of responses (of type ARRAY) or Menu name\nResponses are in format:\n_response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.\n_response select 1:\n    STRING - expression\n    ARRAY - BIS_fnc_kbTell params","text":"ARRAY or STRING - List of responses (of type ARRAY) or Menu name\nResponses are in format:\n_response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.\n_response select 1:\n    STRING - expression\n    ARRAY - BIS_fnc_kbTell params"}],"returns":{"types":["Number"],"text":"NUMBER - ID of select option"},"examples":[],"syntax":null,"execution":null,"notes":null,"requirements":null,"meta":{},"text":"Description:\nOpens conversation menu. Script terminates itself when menu selection is finished.\n\nParameter(s):\n_this select 0: ARRAY or STRING - List of responses (of type ARRAY) or Menu name\n    Responses are in format:\n    _response select 0: STRING or ANY - Display name when STRING, otherwise used as default option when menu is closed without selecting anything.\n    _response select 1:\n        STRING - expression\n        ARRAY - BIS_fnc_kbTell params\n\nReturns:\nNUMBER - ID of select option"},"filled_from_docblock":["description","params","syntax","returns"]}