{"name":"BIS_fnc_setIdentity","title":"BIS fnc setIdentity","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_setIdentity","revid":373727,"updated":"2025-06-23T13:18:19Z","groups":["Object Manipulation"],"status":"ok","games":{"arma3":"1.00"},"since":"arma3 1.00","arma3_since":"1.00","locality":{"argument":"global","effect":"global"},"description":"Sets the unit's identity.\n\n> [!NOTE]\n> - When executed on server, the identity will be JIP compatible.\n> - Before Arma 3 v1.92, this function was Server execution.","syntaxes":[{"syntax":"[object, face, speaker, pitch, callsign, name, glasses] call BIS_fnc_setIdentity","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"face","type":"String","optional":true,"default":"\"\"","description":"face from CfgFaces","type_expr":"String","text":"face: String - (Optional, default \"\") face from CfgFaces"},{"name":"speaker","type":"String","optional":true,"default":"\"\"","description":"speaker from CfgVoice","type_expr":"String","text":"speaker: String - (Optional, default \"\") speaker from CfgVoice"},{"name":"pitch","type":"String","optional":true,"default":"-1","description":"speaker pitch (1 is normal pitch, 2 = chipmunk, 0.5 = Darth Vader, etc)","type_expr":"String","text":"pitch: String - (Optional, default -1) speaker pitch (1 is normal pitch, 2 = chipmunk, 0.5 = Darth Vader, etc)"},{"name":"callsign","type":"String","optional":true,"default":"\"\"","description":"callsign","type_expr":"String","text":"callsign: String - (Optional, default \"\") callsign"},{"name":"name","type":"String","optional":true,"default":"\"\"","description":"unit name","type_expr":"String","since":"arma3 1.92","text":"name: String - (Optional, default \"\") unit name"},{"name":"glasses","type":"String","optional":true,"default":"nil","description":"glasses from CfgGlasses - use \"\" to remove glasses","type_expr":"String","since":"arma3 1.92","text":"glasses: String - (Optional, default nil) glasses from CfgGlasses - use \"\" to remove glasses"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["[player, \"Kerry\", \"Male01ENGB\", 1.05, \"Big Daddy\"] call BIS_fnc_setIdentity;"]},{"code":["[bob, nil, nil, 1.6, nil, \"Miki Maus\", \"G_Shades_Black\"] call BIS_fnc_setIdentity;"]}],"see_also":["BIS_fnc_setUnitInsignia","setFace","setIdentity","setSpeaker","face"]}