From Bohemia Interactive Community
Revision as of 16:17, 1 July 2022 by Lou Montana (talk | contribs) (Some wiki formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description


Returns Object with given id. Object's id can be checked in mission editor.
This command was removed as of Armed Assault v1.08; for later versions and titles, use nearestObject command family instead.
Object Detection


object id
id: Number
Return Value:


Example 1:
_object = object 1;

Additional Information

See also:
nearestObjects nearObjectsReady nearObjects nearestObject


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
Hoz - c
Posted on Aug 01, 2006 - 22:10 (UTC)
Logo A0.png1.75 To check object's id in the Mission Editor click on "Show IDs" and zoom in closely.
Logo A0.png1.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.
Logo A1 black.png1.08 This command is no longer available due to terrain data streaming, you need to use extended variant of nearestObject instead.