BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...)
Line 7: Line 7:
|gr1 = Object Manipulation
|gr1 = Object Manipulation


|arg= global |MPARGUMENTS=
|arg= global|eff= local| Sets the unit's identity.
 
|eff= local |MPEFFECT=
 
| Sets the unit's identity.
{{Informative | When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}}
{{Informative | When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}}



Revision as of 10:51, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets the unit's identity.
When executed on server, the identity will be JIP compatible.
Execution:
call
Groups:
Object Manipulation

Syntax

Syntax:
[object, face, speaker, pitch, callsign] call BIS_fnc_setIdentity
Parameters:
face: String - (Optional, default "") Face from CfgFaces
speaker: String - (Optional, default "") Speaker from CfgVoice
pitch: String - (Optional, default -1) Speaker pitch (1 is unchanged pitch)
callsign: String - (Optional, default "") Callsign
Return Value:
Boolean

Examples

Example 1:
[player, "Kerry", "Male01ENGB", 1.05, "Big Daddy"] call BIS_fnc_setIdentity;

Additional Information

See also:
BIS fnc setUnitInsigniasetFacesetIdentitysetSpeakerface

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