isKeyActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 21: Line 21:
|gr1= Mission Information
|gr1= Mission Information


| Checks whether the given key is active in the current user profile.
|descr= 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.

Revision as of 22:10, 13 June 2021

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:
Mission Information

Syntax

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

Examples

Example 1:
_active = 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