setName: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (alternative syntax) |
m (Example name changed to a one without special Czech characters) |
||
Line 34: | Line 34: | ||
|x1= <code>myLocation [[setName]] "My Location Name";</code> |= Example 1 | |x1= <code>myLocation [[setName]] "My Location Name";</code> |= Example 1 | ||
|x2= <code>[[player]] [[setName]] "New Name";</code> |= Example 2 | |x2= <code>[[player]] [[setName]] "New Name";</code> |= Example 2 | ||
|x3= <code>[[player]] [[setName]] [" | |x3= <code>[[player]] [[setName]] ["Ben Kerry","Ben","Kerry"];</code> |= Example 3 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 14:48, 13 December 2013
Description
- Description:
- Sets the name of a location or a person.
- Groups:
- Uncategorised
Syntax
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.
Bottom Section
Categories:
- Scripting Commands
- Introduced with Arma version 1.08
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands ArmA
- Command Group: Locations
- Command Group: Editor Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters
- Arma 3: New Scripting Commands List