BIS fnc setIdentity: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "{{Feature | Informative | " to "{{Feature|informative|") |
Lou Montana (talk | contribs) (Add 1.92 info) |
||
Line 12: | Line 12: | ||
{{Feature|informative|When executed on server, the identity will be [[Multiplayer Scripting#Join In Progress|JIP]] compatible.}} | {{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, name, glasses] call [[BIS_fnc_setIdentity]] | ||
|p1= object: [[Object]] | |p1= object: [[Object]] | ||
Line 23: | Line 23: | ||
|p5= callsign: [[String]] - (Optional, default "") callsign | |p5= callsign: [[String]] - (Optional, default "") callsign | ||
|p6= name: [[String]] - (Optional, default "") unit name | |||
|p6since= arma3 1.92 | |||
|p7= glasses: [[String]] - (Optional, default [[nil]]) glasses (see {{Link|Arma 3: CfgGlasses|CfgGlasses}}) - use "" to remove glasses | |||
|p7since= arma3 1.92 | |||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|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> | ||
|x2= <sqf>[bob, nil, nil, 1.6, nil, "Miki Maus", "G_Shades_Black"] call BIS_fnc_setIdentity;</sqf> | |||
|seealso= [[BIS_fnc_setUnitInsignia]] [[setFace]] [[setIdentity]] [[setSpeaker]] [[face]] | |seealso= [[BIS_fnc_setUnitInsignia]] [[setFace]] [[setIdentity]] [[setSpeaker]] [[face]] | ||
}} | }} |
Revision as of 14:07, 23 June 2025
Description
- Description:
- Sets the unit's identity.
- Execution:
- call
- Groups:
- Object Manipulation
Syntax
- Syntax:
- [object, face, speaker, pitch, callsign, name, glasses] 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
- since
1.92
- name: String - (Optional, default "") unit name
- since
1.92
- glasses: String - (Optional, default nil) glasses (see CfgGlasses) - use "" to remove glasses
- Return Value:
- Boolean
Examples
- Example 1:
- Example 2:
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