activateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|ACTIVATEKEY]]
[[Category:Scripting Commands ArmA|ACTIVATEKEY]]


<new command not populated>


<h2 style="color:#000066">''' activateKey ''keyname'''</h2>


<h2 style="color:#000066">''''' activateKey '''''</h2>


'''Operand types:'''


'''Operand types:'''
'''keyname:''' [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Nothing]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.06 required.


'''Description:'''
'''Description:'''
Activates the given '''keyname''' for the current user profile.
The keys are used to unlock missions or campaigns.
See keys, keysLimit and doneKeys in the [[description.ext]] file of the missions.




'''Example:'''
'''Example:'''
'''activateKey''' "M04"

Revision as of 16:29, 6 July 2006


activateKey keyname


Operand types:

keyname: String

Type of returned value:

Nothing

Compatibility:

Version 2.06 required.

Description:

Activates the given keyname for the current user profile.

The keys are used to unlock missions or campaigns.

See keys, keysLimit and doneKeys in the description.ext file of the missions.


Example:

activateKey "M04"