deActivateKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(6 intermediate revisions by the same user not shown)
Line 16: Line 16:
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.


|s1= '''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}}}}]]

Latest revision as of 11: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