isKeyActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (made example a little more intuitive)
mNo edit summary
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> '''isKeyActive''' "keyName" |= Syntax
| [[Boolean]] <nowiki>=</nowiki> '''isKeyActive''' keyName |= Syntax


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

Revision as of 02:59, 23 January 2009

-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:
Boolean = isKeyActive keyName
Parameters:
keyName: String
Return Value:
Boolean

Examples

Example 1:
_ok = isKeyActive "Mission04Key"

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