keyImage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
Line 8: Line 8:
|descr= 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.
|descr= 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.


|s1= '''keyImage''' dikCode
|s1= [[keyImage]]  dikCode


|p1= dikCode: [[Number]]
|p1= dikCode: [[Number]]

Revision as of 17:41, 12 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