BIS fnc setIdentity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Object Manipulation | |gr1 = Object Manipulation | ||
|arg= global |MPARGUMENTS= | |arg= global |MPARGUMENTS= | ||
Line 12: | Line 12: | ||
| Sets the unit's identity. | | Sets the unit's identity. | ||
{{Informative | When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}} | {{Informative | When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}} | ||
| [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] | | [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] | ||
|p0= object: [[Object]] | |p0= object: [[Object]] | ||
|p1= face: [[String]] - (Optional, default "") Face from CfgFaces | |p1= face: [[String]] - (Optional, default "") Face from CfgFaces | ||
|p2= speaker: [[String]] - (Optional, default "") Speaker from CfgVoice | |p2= speaker: [[String]] - (Optional, default "") Speaker from CfgVoice | ||
|p3= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch) | |p3= pitch: [[String]] - (Optional, default -1) Speaker pitch (1 is unchanged pitch) | ||
|p4= callsign: [[String]] - (Optional, default "") Callsign | |p4= callsign: [[String]] - (Optional, default "") Callsign | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code> | |x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code> | ||
| [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]] | | [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]] | ||
}} | }} | ||
Revision as of 23:45, 17 January 2021
Description
- Description:
- Sets the unit's identity.
- Execution:
- call
- Groups:
- Object Manipulation
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
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