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 - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )S([a-z])" to "$1s$3")
 
(3 intermediate revisions by the same user not shown)
Line 16: Line 16:
|p1= object: [[Object]]
|p1= object: [[Object]]


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


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


|p4= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch)
|p4= pitch: [[String]] - (Optional, default -1) speaker pitch (1 is unchanged pitch)


|p5= callsign: [[String]] - (Optional, default "") Callsign
|p5= callsign: [[String]] - (Optional, default "") callsign


|r1= [[Boolean]]
|r1= [[Boolean]]
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]]
}}
}}

Latest revision as of 13:32, 8 November 2023

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