deActivateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(26 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


|gr1= Mission Information |GROUP1=
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.
|gr1= Mission Information


See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions. |DESCRIPTION=
|descr= Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.
____________________________________________________________________________________________


| '''deActivateKey''' keyname |SYNTAX=
See keys, keysLimit and doneKeys in the [[Description.ext#keys|description.ext]] file of the missions.


|p1= keyname: [[String]] |PARAMETER1=
|s1= [[deActivateKey]] keyname


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


| [[isKeyActive]], [[activateKey]] |SEEALSO=
|r1= [[Nothing]]


|x1= <sqf>deActivateKey "Mission04Key";</sqf>
|seealso= [[isKeyActive]] [[activateKey]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{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