object: Difference between revisions
| Lou Montana (talk | contribs) m (Some wiki formatting) | Lou Montana (talk | contribs)  m (Some wiki formatting) | ||
| Line 6: | Line 6: | ||
| |game2= ofpe | |game2= ofpe | ||
| |version2= 1.00 | |version2= 1.00 | ||
| |game3= arma1 | |||
| |version3= 1.00 | |||
| |gr1= Object Detection | |gr1= Object Detection | ||
| |descr= Returns [[Object]] with given id. Object's id can be checked in mission editor. | |descr= Returns [[Object]] with given id. Object's id can be checked in mission editor. | ||
| {{Feature|important| | {{Feature|important|This command was removed as of {{arma1}} '''v1.08'''; for later versions and titles, use [[nearestObject]] command family instead.}} | ||
| |s1= [[object]] id | |s1= [[object]] id | ||
Revision as of 17:34, 6 June 2021
Description
- Description:
- Returns Object with given id. Object's id can be checked in mission editor.
- Groups:
- Object Detection
Syntax
Examples
- Example 1:
- _object = object 1;
Additional Information
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
- Posted on 22:10, 1 August 2006
- Hoz
- 
 1.75 To check object's id in the Mission Editor click on "Show IDs" and zoom in closely. 1.75 To check object's id in the Mission Editor click on "Show IDs" and zoom in closely.
  1.85 You cannot 1.85 You cannot_object setPos [-10000, 0 ,0];terrain objects to get them out of the way, but you can use_object setDamage 1;to get trees or other flora out of the way.
  1.08 This command is no longer available due to terrain data streaming, you need to use extended variant of nearestObject instead. 1.08 This command is no longer available due to terrain data streaming, you need to use extended variant of nearestObject instead.
 
	