activateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 14: Line 14:
| '''activateKey''' keyname |SYNTAX=
| '''activateKey''' keyname |SYNTAX=


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[activateKey]] "Mission04Key";</code> |= Example 1
|x1= <code>[[activateKey]] "Mission04Key";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 15:27, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
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 "Mission04Key";

Additional Information

See also:
deActivateKeyisKeyActive

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