setNameSound: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 30: Line 30:
unit1 [[setName]] _name;</code>
unit1 [[setName]] _name;</code>


| [[nameSound]], [[name]], [[setName]], [[setIdentity]]
|seealso= [[nameSound]], [[name]], [[setName]], [[setIdentity]]
}}
}}



Revision as of 00:00, 17 February 2021

Hover & click on the images for description

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