Difference between revisions of "name"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (moved notes)
Line 27: Line 27:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
 
+
Name will return an error for units that have been dead for more than a few seconds.
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>
  
 
<h3 style="display:none">Bottom Section</h3>
 
<h3 style="display:none">Bottom Section</h3>
Old Notes (temporary):
 
  
name will return an error for units that have been dead for more than a few seconds.
 
  
 
[[Category:Scripting Commands|NAME]]
 
[[Category:Scripting Commands|NAME]]

Revision as of 16:14, 2 August 2006

Introduced with Operation Flashpoint version1.00
  

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
The name given to a unit using the setIdentity instruction or selected randomly by the game engine if setIdentity has not been used on the unit. If used on vehicle, name of first crew member (in order commander, driver, gunner).

Syntax

Syntax:
name object
Parameters:
object: Object
Return Value:
String

Examples

Example 1:
_name = name [[vehicle]] [[player]]

Additional Information

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Name will return an error for units that have been dead for more than a few seconds.

Bottom Section