name: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| 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). |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''name''' object |= Syntax | ||
|p1= object: [[Object]] |= Parameter 1 | |||
| [[String]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_name = name [[vehicle]] [[player]]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<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 OFP 1.96|NAME]] | |||
[[Category:Scripting Commands OFP 1.46|NAME]] | |||
[[Category:Scripting Commands ArmA|NAME]] | |||
Revision as of 23:32, 1 August 2006
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).
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_name = name [[vehicle]] [[player]]
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Old Notes (temporary):
name will return an error for units that have been dead for more than a few seconds.