deActivateKey: Difference between revisions

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


| arma2oa |= Game name
|game1= arma2oa
|version1= 1.62


|1.62|Game version=
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.
|game3= arma3
|version3= 0.50


See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. |DESCRIPTION=
|gr1= Mission Information
____________________________________________________________________________________________


| '''deActivateKey''' keyname |SYNTAX=
|descr= Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.


|p1= keyname: [[String]] |PARAMETER1=
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions.


| [[Nothing]] |RETURNVALUE=
|s1= [[deActivateKey]] keyname
____________________________________________________________________________________________
 
|x1= <pre>deActivateKey "Mission04Key"</pre> |EXAMPLE1=
____________________________________________________________________________________________


| [[isKeyActive]], [[activateKey]] |SEEALSO=
|p1= keyname: [[String]]


}}
|r1= [[Nothing]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>deActivateKey "Mission04Key";</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[isKeyActive]] [[activateKey]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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