Difference between revisions of "name"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
(link to location alternative)
Line 12: Line 12:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| [[String]] <nowiki>=</nowiki> '''name''' object |= Syntax
+
| '''name''' object |= Syntax
  
|p1= object: [[Object]] or [[Location]]|= Parameter 1
+
|p1= object: [[Object]] (or [[Location]] see [[name location]])|= Parameter 1
  
 
| [[String]] |= Return value
 
| [[String]] |= Return value

Revision as of 22:10, 17 May 2015

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]
Posted on April 14, 2009
alef
Will return Error: No vehicle for JIP players in init.sqf, if no sleep were performed

Bottom Section