actionKeys: 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|ACTIONKEYS]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |ACTIONKEYS]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|ACTIONKEYS]]


| arma |= Game name


<h2 style="color:#000066">''' actionKeys ''action'''''</h2>
|2.01|= Game version
____________________________________________________________________________________________


| Returns a list of dikCodes of buttons assigned to the given user action. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''actionKeys''' action |= Syntax


'''action:''' [[String]]
|p1= action: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[Array]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>array = actionKeys "ReloadMagazine"</pre> |= Example 1
____________________________________________________________________________________________


[[Array]]
|  |= 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 dikCodes of buttons assigned to the given user action.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|ACTIONKEYS]]
'''Example:'''
[[Category:Scripting Commands OFP Elite |ACTIONKEYS]]
 
[[Category:Scripting Commands ArmA|ACTIONKEYS]]
array = '''actionKeys''' "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 dikCodes of buttons assigned to the given user action.
Groups:
Uncategorised

Syntax

Syntax:
actionKeys action
Parameters:
action: String
Return Value:
Array

Examples

Example 1:
array = actionKeys "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