Arma 3 Scripting

Command in Interaction

actionKeysImages

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns a list of button images or names assigned to the given user action. A maximum of maxKeys keys is listed. You can find the action names in the ControllerSchemes config class or user action names.

Syntax

Syntax 1

actionKeysImages userAction

Parameters:

Returns: Structured Text

Syntax 2

actionKeysImages [userAction, maxKeys]

Parameters:

Returns: Structured Text

Examples

Example 1

_text = actionKeysImages "ReloadMagazine";

Example 2

_reload = actionKeysImages ["ReloadMagazine", 1] // returns "R" (including the quotation marks!)

See also

actionKeys · actionKeysNames · actionKeysNamesArray · actionName · inputAction