{"name":"lockIdentity","title":"lockIdentity","type":"command","url":"https://community.bistudio.com/wiki/lockIdentity","revid":321185,"updated":"2022-05-13T15:19:51Z","groups":["Unit Identity"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Locks the identity of a person. This will disable default identity.","syntaxes":[{"syntax":"lockIdentity unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true, if it was applied"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_success = lockIdentity player;"]}],"see_also":["loadIdentity","setIdentity"]}