actionKeysNamesArray

From Bohemia Interactive Community
Revision as of 12:50, 24 October 2010 by Master85 (talk | contribs) (populated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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

Syntax

Syntax:
actionKeysNamesArray userAction
Parameters:
userAction: String - name of the action
Return Value:
Array of Strings

Alternative Syntax

Syntax:
actionKeysNamesArray [userAction, maxKeys]
Parameters:
[userAction, maxKeys]: Array
userAction: String - name of the action
maxKeys: Number - maximum number of listed keys
Return Value:
Array of Strings

Examples

Example 1:
list = actionKeysNamesArray "ReloadMagazine";
Example 2:
list = actionKeysNamesArray ["ReloadMagazine", 1];

Additional Information

See also:
actionKeysactionKeysImagesactionKeysNames

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

Notes

Bottom Section