isKeyActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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. |= Description
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''isKeyActive''' keyName |= Syntax
| '''isKeyActive''' keyName |SYNTAX=


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


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_ok = isKeyActive "Mission04Key"</pre> |= Example 1
|x1= <pre>_ok = isKeyActive "Mission04Key"</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[activateKey]], [[deActivateKey]] |= See also
| [[activateKey]], [[deActivateKey]] |SEEALSO=


}}
}}

Revision as of 14:41, 7 April 2019

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

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

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

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