{"name":"isKeyActive","title":"isKeyActive","type":"command","url":"https://community.bistudio.com/wiki/isKeyActive","revid":319058,"updated":"2022-05-13T09:23:07Z","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":"Checks whether the given key is active in the current user profile.\n\nSee keys, keysLimit and doneKeys in the description.ext file of the missions.","syntaxes":[{"syntax":"isKeyActive keyName","params":[{"name":"keyName","type":"String","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean"},"form":"unary","right":{"text":"keyName"}}],"examples":[{"code":["_active = isKeyActive \"Mission04Key\";"]}],"see_also":["activateKey","deActivateKey"]}