{"name":"deleteIdentity","operator":null,"title":"deleteIdentity","type":"command","url":"https://community.bistudio.com/wiki/deleteIdentity","revid":348911,"updated":"2023-11-08T14:40:02Z","groups":["Unit Identity"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":null,"description":"Deletes an identity created with saveIdentity from the campaign's progress file.","syntaxes":[{"syntax":"deleteIdentity identityName","since":null,"effect":null,"exec":null,"params":[{"name":"identityName","type":"String","optional":false,"default":null,"description":"name of the saved identity","types":["String"],"since":null,"text":"identityName: String - name of the saved identity"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if the identity was deleted successfully, false if not","text":"Boolean - true if the identity was deleted successfully, false if not"},"form":"unary","operator":null,"left":null,"right":{"text":"identityName","types":["String"]}}],"examples":[{"text":"```sqf\n_deleted = deleteIdentity \"playerIdentity\";\n```","code":["_deleted = deleteIdentity \"playerIdentity\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["saveIdentity"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: Unit Identity","Introduced with Operation Flashpoint version 1.75","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Scripting Commands: Local Effect","Take On Helicopters: Scripting Commands"]}