isKeyActive: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Checks whether the given key is active in the current user profile. | | Checks whether the given key is active in the current user profile. | ||
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. |= | See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''isKeyActive''' keyName |= | | '''isKeyActive''' keyName |SYNTAX= | ||
|p1= keyName: [[String]] |= | |p1= keyName: [[String]] |PARAMETER1= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>_ok = isKeyActive "Mission04Key"</pre> |= | |x1= <pre>_ok = isKeyActive "Mission04Key"</pre> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[activateKey]], [[deActivateKey]] |= | | [[activateKey]], [[deActivateKey]] |SEEALSO= | ||
}} | }} |
Revision as of 14:41, 7 April 2019
Description
- Description:
- Checks whether the given key is active in the current user profile. See keys, keysLimit and doneKeys in the description.ext file of the missions.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_ok = isKeyActive "Mission04Key"
Additional Information
- See also:
- activateKeydeActivateKey
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: Mission Information
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters