BIS fnc setIdentity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 11: | Line 10: | ||
|eff= local |MPEFFECT= | |eff= local |MPEFFECT= | ||
| 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.}} |Description= | {{Informative | When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}} |Description= | ||
| [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] |Syntax= | | [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] |Syntax= | ||
|p0= object: [[Object]] |Parameter 0= | |p0= object: [[Object]] |Parameter 0= | ||
Line 31: | Line 27: | ||
| [[Boolean]] |Return value= | | [[Boolean]] |Return value= | ||
|x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code> |Example 1= | |x1= <code>[<nowiki/>[[player]], "Kerry", "Male01ENGB", 1.05, "Big Daddy"] [[call]] [[BIS_fnc_setIdentity]];</code> |Example 1= | ||
| [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]] |See also= | | [[BIS fnc setUnitInsignia]],[[setFace]], [[setIdentity]], [[setSpeaker]], [[face]] |See also= |
Revision as of 23:55, 16 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