{"name":"BIS_fnc_kbMenu","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","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Opens conversation menu. Script terminates itself when menu selection is finished.","syntaxes":[{"syntax":"[param0] call BIS_fnc_kbMenu","params":[{"name":"param0","type":"Array, String","type_expr":"Array | String","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":"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","type_expr":"Number","description":"ID of select option","text":"NUMBER - ID of select option","source":"docblock"},"inferred":true}],"docblock":{"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"]}