Difference between revisions of "VN fnc kbm getKey"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) m (Text replacement - " |e=" to " |a= |e=") |
||
Line 5: | Line 5: | ||
|author= Heyoxe | |author= Heyoxe | ||
+ | |||
+ | |a= | ||
|e= | |e= |
Revision as of 19:25, 5 January 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Heyoxe |
|
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
-