isKeyActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
[[Category:Scripting Commands OFP Elite |ISKEYACTIVE]]
[[Category:Scripting Commands OFP Elite |ISKEYACTIVE]]
[[Category:Scripting Commands ArmA|ISKEYACTIVE]]
[[Category:Scripting Commands ArmA|ISKEYACTIVE]]





Revision as of 16:37, 2 July 2006


isKeyActive keyName


Operand types:

keyName: String

Type of returned value:

Boolean

Compatibility:

Version 2.06 required.

Description:

Checks whether the given key is active in the current user profile.


Example:

_ok = isKeyActive "M04"