{"name":"deActivateKey","operator":null,"title":"deActivateKey","type":"command","url":"https://community.bistudio.com/wiki/deActivateKey","revid":318885,"updated":"2022-05-13T09:21:59Z","groups":["Mission Information"],"status":"ok","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.62"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.62"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Deactivates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.\n\nSee keys, keysLimit and doneKeys in the description.ext file of the missions.","syntaxes":[{"syntax":"deActivateKey keyname","since":null,"effect":null,"exec":null,"params":[{"name":"keyname","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"keyname: String"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"keyname","types":["String"]}}],"examples":[{"text":"```sqf\ndeActivateKey \"Mission04Key\";\n```","code":["deActivateKey \"Mission04Key\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["isKeyActive","activateKey"],"notes":[],"categories":["Arma 2: Operation Arrowhead: New Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 3: Scripting Commands","Command Group: Mission Information","Introduced with Arma 2: Operation Arrowhead version 1.62","Scripting Commands","Take On Helicopters: Scripting Commands"]}