BIS fnc keyCode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " " to " ")
Line 26: Line 26:
| [[DIK KeyCodes]]
| [[DIK KeyCodes]]
}}
}}




[[Category:Functions|{{uc:keyCode}}]]
[[Category:Functions|{{uc:keyCode}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:keyCode}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:keyCode}}]]

Revision as of 22:11, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
input:
Number: Key code
String: Key name
Boolean: Return key definitions
Return Value:
Return value needed

Examples

Example 1:
13 call BIS_fnc_keyCode;//Returns "EQUALS"
Example 2:
"EQUALS" call BIS_fnc_keyCode;//Returns 13
Example 3:
true call BIS_fnc_keyCode;//Returns ["ESCAPE",1,"1",2,"2",3,"3",4,"4",5,"5",6,"6",7,"7",8,"8",9,"9",10,"0",11,"MINUS",12,"EQUALS",13...]

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note