BIS fnc keyCode: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=") |
||
Line 9: | Line 9: | ||
| Returns DIK code of a given key. | | Returns DIK code of a given key. | ||
| input call [[BIS_fnc_keyCode]] | |s1= input call [[BIS_fnc_keyCode]] | ||
|p1= input:<br> | |p1= input:<br> |
Revision as of 22:46, 12 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- GUI
Syntax
- Syntax:
- input call BIS_fnc_keyCode
- 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:
- DIK KeyCodes
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