setNameSound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 54: Line 54:
<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|New_Scripting_Commands_List}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 07:31, 9 January 2021

Hover & click on the images for description

Description

Description:
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!".
See CfgIdentities - NameSounds for common values.
Note that any word from configfile >> "RadioProtocolENG" >> "Words" is accepted (e.g "veh_infantry_Sniper_s").
Groups:
Unit Identity

Syntax

Syntax:
person setNameSound name
Parameters:
person: Object
name: String
Return Value:
Nothing

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:
nameSoundnamesetNamesetIdentity

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

Notes

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")

Bottom Section