BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1 = Object Manipulation |GROUP1=
|gr1 = Object Manipulation


|arg= global |MPARGUMENTS=
|arg= global |MPARGUMENTS=
Line 12: Line 12:


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


| [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] |Syntax=
| [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]]


|p0= object: [[Object]] |Parameter 0=
|p0= object: [[Object]]


|p1= face: [[String]] - (Optional, default "") Face from CfgFaces |Parameter 1=
|p1= face: [[String]] - (Optional, default "") Face from CfgFaces


|p2= speaker: [[String]] - (Optional, default "") Speaker from CfgVoice |Parameter 2=
|p2= speaker: [[String]] - (Optional, default "") Speaker from CfgVoice


|p3= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch) |Parameter 3=
|p3= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch)


|p4= callsign: [[String]] - (Optional, default "") Callsign |Parameter 4=
|p4= callsign: [[String]] - (Optional, default "") Callsign


| [[Boolean]] |Return value=
| [[Boolean]]


|x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code> |Example 1=
|x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code>


| [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]] |See also=
| [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]]
}}
}}



Revision as of 23:45, 17 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


Bottom Section