BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
Line 26: Line 26:
|r1= [[Boolean]]
|r1= [[Boolean]]


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


|seealso= [[BIS fnc setUnitInsignia]] [[setFace]] [[setIdentity]] [[setSpeaker]] [[face]]
|seealso= [[BIS fnc setUnitInsignia]] [[setFace]] [[setIdentity]] [[setSpeaker]] [[face]]
}}
}}

Revision as of 16:56, 13 July 2022

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