deActivateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa
|game1= arma2oa
|1.62
|version1= 1.62


|game2= tkoh
|game2= tkoh
Line 12: Line 12:
|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]]


|r1=[[Nothing]]
|r1= [[Nothing]]


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


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

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