BIS_fnc_setIdentity
- Global argument
- Global effect
- Arma 3 v1.00
Function · Markdown · JSON · original wiki page
Description
Sets the unit's identity.
Note
- When executed on server, the identity will be JIP compatible.
- Before Arma 3 v1.92, this function was Server Execution.
Syntax
[object, face, speaker, pitch, callsign, name, glasses] call BIS_fnc_setIdentity
Parameters:
object: Objectface: String - (Optional, default "") face from CfgFacesspeaker: String - (Optional, default "") speaker from CfgVoicepitch: String - (Optional, default -1) speaker pitch (1 is normal pitch, 2 = chipmunk, 0.5 = Darth Vader, etc)callsign: String - (Optional, default "") callsignname: String - (Optional, default "") unit name (since arma3 1.92)glasses: String - (Optional, default nil) glasses from CfgGlasses - use "" to remove glasses (since arma3 1.92)
Returns: 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;
See also
BIS_fnc_setUnitInsignia · setFace · setIdentity · setSpeaker · face