setName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(arma 3 note)
No edit summary
Line 8: Line 8:
|arg= |= Arguments in MP
|arg= |= Arguments in MP


|eff= |= Effects in MP
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 50: Line 50:
<dt class="note">'''[[User:Druid|Druid]]'''
<dt class="note">'''[[User:Druid|Druid]]'''
<dd class="note">Support of a person as the first parameter from Arma 3 v. 1.02.
<dd class="note">Support of a person as the first parameter from Arma 3 v. 1.02.
<dd class="notedate">Posted on April 12, 2014
<dt class="note">'''[[User:Waffle SS.|Waffle SS.]]'''
<dd class="note">Seems to have no effect on players in Multiplayer. (ArmA 3 v1.00)
<BR><BR>


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 19:31, 12 April 2014

-wrong parameter ("Arma") defined!-1.08
Hover & click on the images for description

Description

Description:
Sets the name of a location or a person. In Arma 3 this can be used to set name of a person but only in single player.
Groups:
Uncategorised

Syntax

Syntax:
object setName name
Parameters:
object: Location or Object
name: String
Return Value:
Nothing

Alternative Syntax

Syntax:
unit setName [name, first name, last name]
Parameters:
unit: Object
name: String
first name: String
last name: String
Return Value:
Nothing

Examples

Example 1:
myLocation setName "My Location Name";
Example 2:
player setName "New Name";
Example 3:
player setName ["Ben Kerry","Ben","Kerry"];

Additional Information

See also:
name

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

kju
Appears to be only for the 3d editor.
Druid
Support of a person as the first parameter from Arma 3 v. 1.02.
Posted on April 12, 2014
Waffle SS.
Seems to have no effect on players in Multiplayer. (ArmA 3 v1.00)

Bottom Section