BIS fnc setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision imported: BIS Functions update 2/7)
m (pf)
Line 1: Line 1:
{{Function|Comments=
____________________________________________________________________________________________
| arma3 |Game name=


{{Function|= Comments
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| 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=
____________________________________________________________________________________________


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


| <pre>/*
Author: Karel Moricky


Description:
|p0= object: [[Object]] |Parameter 0=
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.


Parameter(s):
|p1= face: [[String]] - (Optional, default "") Face from CfgFaces |Parameter 1=
0: OBJECT
1 (Optional): STRING - face from CfgFaces
2 (Optional): STRING - speaker from CfgVoice
3 (Optional): NUMBER - speaker pitch (1 is unchanged pitch)
4 (Optional): STRING - callsign


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


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p3= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch) |Parameter 3=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_setIdentity]]; --> |= Syntax
|p4= callsign: [[String]] - (Optional, default "") Callsign |Parameter 4=
|p1= |= Parameter 1


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


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


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


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 21:43, 5 June 2018

Hover & click on the images for description

Description

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