BIS_fnc_setIdentity

From Bohemia Interactive Community
Hover & click on the images for description

Description

Description:
Sets the unit's identity.
  • When executed on server, the identity will be JIP compatible.
  • Before Arma 3 logo black.png 1.92, this function was SEServer.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[object, face, speaker, pitch, callsign, name, glasses] call BIS_fnc_setIdentity
Parameters:
object: Object
face: String - (Optional, default "") face from CfgFaces
speaker: String - (Optional, default "") speaker from CfgVoice
pitch: String - (Optional, default -1) speaker pitch (1 is normal pitch, 2 = chipmunk, 0.5 = Darth Vader, etc)
callsign: String - (Optional, default "") callsign
since Arma 3 logo black.png 1.92
name: String - (Optional, default "") unit name
since Arma 3 logo black.png 1.92
glasses: String - (Optional, default nil) glasses from CfgGlasses - use "" to remove glasses
Return Value:
Boolean

Examples

Example 1:
[player, "Kerry", "Male01ENGB", 1.05, "Big Daddy"] call BIS_fnc_setIdentity;
Example 2:
[bob, nil, nil, 1.6, nil, "Miki Maus", "G_Shades_Black"] call BIS_fnc_setIdentity;

Additional Information

See also:
BIS_fnc_setUnitInsignia setFace setIdentity setSpeaker face

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note