inputAction: Difference between revisions
Jump to navigation
Jump to search
m (+link) |
(syntax, example, seealso) |
||
Line 12: | Line 12: | ||
| '''inputAction''' name |= Syntax | | '''inputAction''' name |= Syntax | ||
|p1= name: | |p1= name: [[String]] - name of the action |= PARAMETER1 | ||
| | | [[Number]] |= RETURNVALUE | ||
|x1= <code>'''inputAction''' "leanLeft"</code> Returns 1 if the button mapped to "leanLeft" is pressed currently else 0. |= EXAMPLE1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[actionKeys]], [[actionKeysImages]], [[actionKeysNames]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 20:44, 12 November 2009
Description
- Description:
- Return the state of input devices mapped to given input action (see ArmA:_CfgDefaultKeysMapping for action names).
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
inputAction "leanLeft"
Returns 1 if the button mapped to "leanLeft" is pressed currently else 0.
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