This function is deprecated. Please use CBA_fnc_addKeybindToFleximenu.
Adds or updates the keybind handler for a defined Fleximenu and creates that Fleximenu.
_modName | Name of the registering mod [String] |
_actionName | Name of the action to register [String] |
_fleximenuDef | Parameter array for CBA_fnc_flexiMenu_Add, but with the keybind set to [] [Array] |
_defaultKeybind | Default keybind [DIK code, [shift?, ctrl?, alt?]] [Array] |
_overwrite | Overwrite existing keybind data? [Bool] (Default: False) |
_keypressType | ”keydown” (Default) = keyDown, “keyup” = keyUp [String] |
Returns the current keybind for the Fleximenu [Array]
["Your Mod", "Your Action", ["player", [], -100, "_this call my_menu_code_array"], [15, [true, true, true]]] call cba_fnc_registerKeybindToFleximenu;
Taosenai