BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (pf)
m (Delete BIS_fnc_MP forevah)
Line 5: Line 5:


|1.00|Game version=
|1.00|Game version=
|arg= global |MPARGUMENTS=
|eff= local |MPEFFECT=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set unit identity. To be used together with BIS_fnc_MP, because identity related commands are local. When executed on server, the identity will be [[JIP]] compatible. |Description=
| Sets the unit's identity.
{{Informative | When executed on server, the identity will be [[JIP]] compatible.}} |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p0= object: [[Object]] |Parameter 0=
|p0= object: [[Object]] |Parameter 0=
Line 26: Line 31:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[ [[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> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:18, 10 September 2019

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:
Uncategorised

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


Notes

Bottom Section