BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>")
m (Text replacement - " \|seealso *= *([^ ]*)\[\[BIS fnc ([a-zA-Z0-9_]+)\]\]([^ ]*)" to " |seealso= $1BIS_fnc_$2$3")
Line 28: Line 28:
|x1= <sqf>[player, "Kerry", "Male01ENGB", 1.05, "Big Daddy"] call BIS_fnc_setIdentity;</sqf>
|x1= <sqf>[player, "Kerry", "Male01ENGB", 1.05, "Big Daddy"] call BIS_fnc_setIdentity;</sqf>


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

Revision as of 19:02, 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