setNameSound: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{( *)Informative( *)\|" to "{{$1Feature$2|$2Informative$2|") |
||
Line 13: | Line 13: | ||
| Sets the [[nameSound]] of a person. By default, when giving orders, the units are addressed by their number. When nameSound is set, it will be used instead to address the unit. For example: "Two, hold fire!", one can have: "Miller, hold fire!". | | Sets the [[nameSound]] of a person. By default, when giving orders, the units are addressed by their number. When nameSound is set, it will be used instead to address the unit. For example: "Two, hold fire!", one can have: "Miller, hold fire!". | ||
{{Informative | See [[Arma 3 CfgIdentities#NameSounds|CfgIdentities - NameSounds]] for common values.<br> | {{Feature | Informative | See [[Arma 3 CfgIdentities#NameSounds|CfgIdentities - NameSounds]] for common values.<br> | ||
Note that any word from <tt>[[configfile]] >> "RadioProtocolENG" >> "Words"</tt> is accepted (e.g "veh_infantry_Sniper_s").}} | Note that any word from <tt>[[configfile]] >> "RadioProtocolENG" >> "Words"</tt> is accepted (e.g "veh_infantry_Sniper_s").}} | ||
Revision as of 00:13, 7 February 2021
Description
- Description:
- Description needed
- Groups:
- Unit Identity
Syntax
- Syntax:
- Syntax needed
- Parameters:
- person: Object
- name: String
- Return Value:
- Return value needed
Examples
- Example 1:
unit1 setNameSound "dixon";
- Example 2:
unit1 setNameSound ""; // will reset to default behaviour
- Example 3:
_name = "Masood"; unit1 setNameSound _name; unit1 setName _name;
Additional Information
- See also:
- See also needed
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
- Posted on December 22, 2013 - 19:08 (UTC)
- Lou Montana
- setting an incorrect value like "0" or "randomString" will remove the callsign (" /* 2, */ fall back")