actionKeysNames: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ACTIONKEYSNAMES]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |ACTIONKEYSNAMES]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|ACTIONKEYSNAMES]]


| arma |= Game name


<h2 style="color:#000066">''' actionKeysNames ''action or [action, maxKeys]'''''</h2>
|2.01|= Game version
____________________________________________________________________________________________


| 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. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''actionKeysNames''' action or [action, maxKeys] |= Syntax


'''action or [action, maxKeys]:''' [[String]] or [[Array]]
|p1= action or [action, maxKeys]: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[String]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>list = actionKeysNames "ReloadMagazine"</pre> |= Example 1
____________________________________________________________________________________________


[[String]]
|  |= See also


'''Compatibility:'''
}}


Version 2.01 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Returns a list of button names assigned to the given user '''action'''.
<h3 style="display:none">Bottom Section</h3>


A maximum of '''maxKeys''' keys is listed.
[[Category:Scripting Commands|ACTIONKEYSNAMES]]
 
[[Category:Scripting Commands OFP Elite |ACTIONKEYSNAMES]]
You can find the action names in config class ControllerSchemes.
[[Category:Scripting Commands ArmA|ACTIONKEYSNAMES]]
 
 
'''Example:'''
 
list = '''actionKeysNames''' "ReloadMagazine"

Revision as of 22:51, 1 August 2006

-wrong parameter ("Arma") defined!-2.01
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.
Groups:
Uncategorised

Syntax

Syntax:
actionKeysNames action or [action, maxKeys]
Parameters:
action or [action, maxKeys]: String
Return Value:
String

Examples

Example 1:
list = actionKeysNames "ReloadMagazine"

Additional Information

See also:
See also needed

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