Difference between revisions of "name"

From Bohemia Interactive Community
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
back to [[Scripting_Reference#N|COMREF]]
 +
 
<h2 style="color:#000066">'''name ''object'''''</h2>
 
<h2 style="color:#000066">'''name ''object'''''</h2>
 +
  
 
'''Operand types:'''
 
'''Operand types:'''
  
object: [[Object]]
+
'''object:''' [[Object]]
  
 
'''Type of returned value:'''
 
'''Type of returned value:'''
Line 11: Line 14:
 
'''Description:'''
 
'''Description:'''
  
Name of variable assigned to object in mission editor. If used on vehicle, name of first crew member (in order commander, driver, gunner).
+
Name of variable assigned to object in mission editor.
 +
 
 +
If used on vehicle, name of first crew member (in order commander, driver, gunner).
 +
 
  
 
'''Example:'''
 
'''Example:'''
  
_name = '''name''' vehicle player
+
_name = '''name''' [[vehicle]] [[player]]

Revision as of 20:36, 15 April 2006

back to COMREF

name object


Operand types:

object: Object

Type of returned value:

String

Description:

Name of variable assigned to object in mission editor.

If used on vehicle, name of first crew member (in order commander, driver, gunner).


Example:

_name = name vehicle player