deActivateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2oa
|game1= arma2oa
|version1= 1.62


|1.62
|game2= tkoh
|version2= 1.00
 
|game3= arma3
|version3= 0.50


|gr1= Mission Information
|gr1= Mission Information


| Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.
|descr= Deactivates 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#keys|description.ext]] file of the missions.
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions.


| '''deActivateKey''' keyname
|s1= [[deActivateKey]] keyname


|p1= keyname: [[String]]
|p1= keyname: [[String]]


| [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>[[deActivateKey]] "Mission04Key";</code>
|x1= <sqf>deActivateKey "Mission04Key";</sqf>


| [[isKeyActive]], [[activateKey]]
|seealso= [[isKeyActive]] [[activateKey]]
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:21, 13 May 2022

Hover & click on the images for description

Description

Description:
Deactivates 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:
Mission Information

Syntax

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

Examples

Example 1:
deActivateKey "Mission04Key";

Additional Information

See also:
isKeyActive activateKey

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