Arma 3 Scripting

actionKeysImages

  • Arma 3 v0.50
  • First in Operation Flashpoint: Elite v1.00

Command · Markdown · JSON · 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