Description
Returns a list of button names assigned to the given user action. You can find the action names in config class ControllerSchemes or user action names.
Syntax
Syntax 1
actionKeysNamesArray userAction
Parameters:
userAction: String - name of the action
Syntax 2
actionKeysNamesArray [userAction, maxKeys, inputDevicePriority]
Parameters:
userAction: String - name of the actionmaxKeys: Number - maximum number of keys to returninputDevicePriority: String - (Optional) result sorted byinputDevicePrioritywith values:"Mouse""Keyboard""Stick""Gamepad""Tracker""Combo"(mouse and keyboard combinations)"Controler"[sic] (any controller other than mouse or keyboard) Other values are considered as:"Unsorted"(since arma3 1.36)
Examples
Example 1
_actionList = actionKeysNamesArray "ReloadMagazine";
Example 2
_actionList = actionKeysNamesArray ["ReloadMagazine", 1];
See also
actionKeys · actionKeysImages · actionKeysNames · actionName · inputAction