isKeyActive: Difference between revisions

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


| arma |= Game name


<h2 style="color:#000066">''' isKeyActive ''keyName'''''</h2>
|2.06|= Game version
____________________________________________________________________________________________


| Checks whether the given key is active in the current user profile. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''isKeyActive''' keyName |= Syntax


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


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_ok = isKeyActive "M04"</pre> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
|  |= See also


'''Compatibility:'''
}}


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


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


Checks whether the given key is active in the current user profile.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|ISKEYACTIVE]]
 
[[Category:Scripting Commands OFP Elite |ISKEYACTIVE]]
'''Example:'''
[[Category:Scripting Commands ArmA|ISKEYACTIVE]]
 
_ok = '''isKeyActive''' "M04"

Revision as of 00:35, 2 August 2006

-wrong parameter ("Arma") defined!-2.06
Hover & click on the images for description

Description

Description:
Checks whether the given key is active in the current user profile.
Groups:
Uncategorised

Syntax

Syntax:
isKeyActive keyName
Parameters:
keyName String
Return Value:
Boolean

Examples

Example 1:
_ok = isKeyActive "M04"

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