isKeyActive: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (made example a little more intuitive)
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_ok = isKeyActive "M04"</pre> |= Example 1
|x1= <pre>_ok = isKeyActive "Mission04Key"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:26, 2 September 2007

-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