Difference between revisions of "VN fnc kbm getKey"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) m (Text replacement - "call VN_" to "call [[VN_") |
||
Line 27: | Line 27: | ||
* alt: {{DataType|boolean}} - alt modifier needed | * alt: {{DataType|boolean}} - alt modifier needed | ||
− | |x1= <code>private _data = ["GestureMenu"] call VN_fnc_kbm_getKey; {{cc|returns [15,false,false,false] (default)}}</code> | + | |x1= <code>private _data = ["GestureMenu"] call [[VN_fnc_kbm_getKey; {{cc|returns [15,false,false,false] (default)}}</code> |
}} | }} |
Revision as of 20:16, 26 February 2021
{{Function
|v= 1.00
|author= Heyoxe
|a=
|e= local
|g1= keybinding
|d= Returns the currently assigned keybind to a specific action.
|s= [] call VN_fnc_kbm_getKey
|p1n= action |p1t= string |p1d= name of the action as defined in config |p1v=
|r1t= array |r1d= format [key, shift, ctrl, alt]:
- key: Number - DIK key code
- shift: Boolean - shift modifier needed
- ctrl: Boolean - ctrl modifier needed
- alt: Boolean - alt modifier needed
|x1= private _data = ["GestureMenu"] call [[VN_fnc_kbm_getKey; // returns [15,false,false,false] (default)
}}