setName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the name of a location|= Description
| Sets the name of a location or a person. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| location '''setName''' name |= Syntax
| object '''setName''' name |= Syntax


|p1= location: [[Location]] |= Parameter 1
|p1= object: [[Location]] or [[Object]] |= Parameter 1
|p2= name: [[String]] |= Parameter 2
|p2= name: [[String]] |= Parameter 2


Line 23: Line 23:
   
   
|x1= <pre>myLocation setName "My Location Name"</pre> |= Example 1
|x1= <pre>myLocation setName "My Location Name"</pre> |= Example 1
|x2= <pre>player setName "New Name"</pre> |= Example 2
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 35: Line 36:
<dt class="note">'''[[User:kju|kju]]'''
<dt class="note">'''[[User:kju|kju]]'''
<dd class="note">Appears to be only for the 3d editor.
<dd class="note">Appears to be only for the 3d editor.
<dt class="note">'''[[User:Druid|Druid]]'''
<dd class="note">Support of a person as the first parameter from Arma 3 v. 1.04.


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

Revision as of 11:33, 19 September 2013

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

Description

Description:
Sets the name of a location or a person.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
myLocation setName "My Location Name"
Example 2:
player setName "New Name"

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.04.

Bottom Section