{"name":"activateKey","title":"activateKey","type":"command","url":"https://community.bistudio.com/wiki/activateKey","revid":341303,"updated":"2023-05-20T20:40:03Z","groups":["Mission Information"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Activates the given keyname for the current user profile. The keys are used to unlock missions or campaigns.\nSee `keys`, `keysLimit` and `doneKeys` in the Description.ext#Mission Keys chapter.","syntaxes":[{"syntax":"activateKey keyname","params":[{"name":"keyname","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"keyname"}}],"examples":[{"code":["activateKey \"Mission04Key\";"]}],"see_also":["deActivateKey","isKeyActive"]}