activateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|ACTIVATEKEY]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |ACTIVATEKEY]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|ACTIVATEKEY]]


| arma |= Game name


<h2 style="color:#000066">''' activateKey ''keyname'''</h2>
|2.06|= Game version
____________________________________________________________________________________________


| 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. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''activateKey''' keyname |= Syntax


'''keyname:''' [[String]]
|p1= keyname: [[String]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>activateKey "M04"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.06 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Activates the given '''keyname''' for the current user profile.
<h3 style="display:none">Bottom Section</h3>


The keys are used to unlock missions or campaigns.
[[Category:Scripting Commands|ACTIVATEKEY]]
 
[[Category:Scripting Commands OFP Elite |ACTIVATEKEY]]
See keys, keysLimit and doneKeys in the [[Description.ext]] file of the missions.
[[Category:Scripting Commands ArmA|ACTIVATEKEY]]
 
 
'''Example:'''
 
'''activateKey''' "M04"

Revision as of 22:52, 1 August 2006

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

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.
Groups:
Uncategorised

Syntax

Syntax:
activateKey keyname
Parameters:
keyname: String
Return Value:
Nothing

Examples

Example 1:
activateKey "M04"

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