keyImage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
m (Text replacement - " " to " ")
Line 13: Line 13:


|r1= [[Structured Text]]
|r1= [[Structured Text]]
 
 
|x1= <code>_name = [[keyImage]] 28; {{cc|result is "Enter"}}</code>
|x1= <code>_name = [[keyImage]] 28; {{cc|result is "Enter"}}</code>



Revision as of 20:03, 10 June 2021

Hover & click on the images for description

Description

Description:
Returns a structured text, containing an image or name (if no image is found) of the button, on the keyboard, mouse or joystick, with the given code.
Groups:
System

Syntax

Syntax:
keyImage dikCode
Parameters:
dikCode: Number
Return Value:
Structured Text

Examples

Example 1:
_name = keyImage 28; // result is "Enter"

Additional Information

See also:
keyNameactionKeysactionKeysImagesactionKeysNamesactionKeysNamesArrayDIK 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