Arma 3 Scripting

Function in Communication Menu

BIS_fnc_createMenu

Also available as Markdown and JSON, or read the original wiki page.

Description

Create custom commanding menu (with multiple pages if necessary).

Syntax

[namePath, variable, itemDetails, subMenu, codeStr, parameters, showKey] call BIS_fnc_createMenu

Parameters:

Returns: Boolean - always true

Examples

Example 1

["Menu", "b", ["first", "second"], "","hint 'ahoj'"] call BIS_fnc_createMenu;
showCommandingMenu "#USER:b_0";

Example 2

private _itemDetails = [["firstData", "secondData"], ["First", "Second"]];
["Menu", "b", _itemDetails, "", "hint (str '%1' + str '%2' + str '%3')"] call BIS_fnc_createMenu;
showCommandingMenu "#USER:b_0";

See also

Conversations