Difference between revisions of "VN fnc kbm getKey"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) m (1 revision imported) |
(No difference)
|
Revision as of 18:23, 5 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 |
|
Description
/* File: fn_kbm_getKey.sqf Author: Heyoxe Date: 2020-10-14 Last Update: 2020-11-06 Public: Yes Description: Returns the currently assigned keybind to a specific action. Parameter(s): _action - Name of the action as define in the confign [STRING, defaults to "] Returns: _parsed: Array representing the current assigned key and it's modifiers [ARRAY] 0 - _key: <Number> DIK Key code. 1 - _shift: <Boolean> Needs Shift modifier to be pressed. 2 - _ctrl: <Boolean> Needs Ctrl modifier to be pressed. 3 - _alt: <Boolean> Needs Alt modifier to be pressed. Example(s): private _data = ["GestureMenu"] call VN_fnc_kbm_getKey; // _data => [15,false,false,false] (default) */(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)
Syntax
- Syntax
- [] call VN_fnc_kbm_getKey;
- Return value
- Nothing
Examples
- Example 1
-