actionKeysNamesArray: Difference between revisions
Jump to navigation
Jump to search
m (Improved link.) |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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 [[Category:Key_Actions|user action names]]. |= 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 [[:Category:Key_Actions|user action names]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 13:01, 16 March 2011
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
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