BIS fnc setIdentity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "{{Feature | Informative | " to "{{Feature|informative|") |
||
(12 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|descr= Sets the unit's identity. | |descr= Sets the unit's identity. | ||
{{Feature | | {{Feature|informative|When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}} | ||
|s1= [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] | |s1= [object, face, speaker, pitch, callsign] call [[BIS_fnc_setIdentity]] | ||
Line 16: | Line 16: | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
|p2= face: [[String]] - (Optional, default "") | |p2= face: [[String]] - (Optional, default "") face from CfgFaces | ||
|p3= speaker: [[String]] - (Optional, default "") | |p3= speaker: [[String]] - (Optional, default "") speaker from CfgVoice | ||
|p4= pitch: [[String]] - (Optional, default -1) | |p4= pitch: [[String]] - (Optional, default -1) speaker pitch (1 is unchanged pitch) | ||
|p5= callsign: [[String]] - (Optional, default "") | |p5= callsign: [[String]] - (Optional, default "") callsign | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[player, "Kerry", "Male01ENGB", 1.05, "Big Daddy"] call BIS_fnc_setIdentity;</sqf> | ||
|seealso= [[ | |seealso= [[BIS_fnc_setUnitInsignia]] [[setFace]] [[setIdentity]] [[setSpeaker]] [[face]] | ||
}} | }} |
Latest revision as of 21:42, 16 May 2024
Description
- Description:
- Sets the unit's identity.
- 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:
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