object: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed link)
m (formate)
Line 9: Line 9:
| Return [[Object]] with given id. Object ID's can be checked in mission editor.
| Return [[Object]] with given id. Object ID's can be checked in mission editor.


'''DOES NOT WORK IN ARMED ASSAULT''', use [[nearestObject]] instead.|= Description
{{Feature arma3|This command is obsoleted since ArmA. Use [[nearestObject]] command family instead.}}|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 29: Line 29:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
To check object ID's in the Mission Editor click on "Show IDs" and zoom in close.  
<dd class="notedate">Posted on 22:10, 1 August 2006
 
<dt class="note">'''[[User:Hoz|Hoz]]'''<dd class="note">
Available in '''v1.75''' (Resistance) and above.
(CWR 1.75)To check object ID's in the Mission Editor click on "Show IDs" and zoom in close. <br>
 
(CWR 1.85)You can't [[setPos]] island objects to get them out of the way, but you can use [[setDamage]] 1 to get trees or other flora out of the way. <br>
Since version '''1.85''', you can't [[setPos]] island objects to get them out of the way, but you can use [[setDamage]] 1 to get trees or other flora out of the way.  
(A1 1.08)This command is no longer available due to terrain data streaming, you need to use extended variant of [[nearestObject]] instead.
 
Since [[Armed Assault]] this command is no longer available due to terrain data streaming, you need to use extended variant of [[nearestObject]] instead.
 
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 14:43, 28 August 2014

Hover & click on the images for description

Description

Description:
Return Object with given id. Object ID's can be checked in mission editor.
Arma 3
This command is obsoleted since ArmA. Use nearestObject command family instead.
Groups:
Uncategorised

Syntax

Syntax:
Object = object id
Parameters:
id: Number
Return Value:
Object

Examples

Example 1:
_obj = object 1

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

Posted on 22:10, 1 August 2006
Hoz
(CWR 1.75)To check object ID's in the Mission Editor click on "Show IDs" and zoom in close.
(CWR 1.85)You can't setPos island objects to get them out of the way, but you can use setDamage 1 to get trees or other flora out of the way.
(A1 1.08)This command is no longer available due to terrain data streaming, you need to use extended variant of nearestObject instead.

Bottom Section