Difference between revisions of "name"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 12: Line 12:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''name''' object |= Syntax
+
| [[String]] <nowiki>=</nowiki> '''name''' [[Object#Unit|Unit]]|= Syntax
 
 
|p1= object: [[Object]] |= Parameter 1
 
  
 
| [[String]] |= Return value
 
| [[String]] |= Return value

Revision as of 08:37, 28 August 2007

Template:Command

Notes

Posted on August 4, 2006 - 10:56
hardrock
Notes from before the conversion: Name will return an error for units that have been dead for more than a few seconds.
Posted on December 15, 2006 - 05:27
Kronzky
To return the name of the unit that was given in the editor's "name" field, call up the unit's object in a format statement: hint format["Unit's name: %1",_unitobject]

Bottom Section