actionKeysImages

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Armed Assault version 1.00

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

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 config class ControllerSchemes.

Syntax

Syntax:
Structured Text = actionKeysImages "UserAction"
Parameters:
UserAction: String
Return Value:
Structured Text

Alternative Syntax

Syntax:
Structured Text = actionKeysImages ["UserAction", maxKeys]
Parameters:
UserAction: String
maxKeys: Integer
Return Value:
Structured Text

Examples

Example 1:
_text = actionKeysImages "ReloadMagazine"
Example 2:
_reload = actionKeysImages ["ReloadMagazine",1]
will return "R" (incl. the quotation marks!)

Additional Information

Multiplayer:
Behaviour unknown.

Notes

Notes

+ Add Note

Only post proven facts here. Use the talk page or the forums for discussions.

Notes

You can find a list of all available actions here. The list is for VBS2, so there are a few actions that are not available in Arma. --General Barron 06:08, 3 June 2008 (CEST)

Bottom Section

Personal tools
Buy ArmA now!