{"name":"loadIdentity","title":"loadIdentity","type":"command","url":"https://community.bistudio.com/wiki/loadIdentity","revid":322977,"updated":"2022-06-28T21:42:55Z","groups":["Unit Identity"],"status":"ok","games":{"ofp":"1.75","ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofp 1.75","arma3_since":"0.50","description":"Loads person's identity from Objects.sav file in campaign directory (from entry name).","syntaxes":[{"syntax":"unit loadIdentity name","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"name","type":"String","type_expr":"String"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if successfull, otherwise false"},"form":"binary","left":{"text":"unit"},"right":{"text":"name"}}],"examples":[{"code":["_ok = player loadIdentity \"playerIdentity\";"]}],"multiplayer":"This command does not work in Multiplayer.","see_also":["saveIdentity","lockIdentity","setIdentity"]}