name: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands| | [[Category:Scripting Commands|NAME]] | ||
[[Category:Scripting Commands OFP 1.97| | [[Category:Scripting Commands OFP 1.97|NAME]] | ||
[[Category:Scripting Commands OFP 1.46| | [[Category:Scripting Commands OFP 1.46|NAME]] | ||
[[Category:Scripting Commands ArmA| | [[Category:Scripting Commands ArmA|NAME]] | ||
Revision as of 14:43, 4 May 2006
name object
Operand types:
object: Object
Type of returned value:
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).
Example:
Comments:
name will return an error for units that have been dead for more than a few seconds.