object: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#))?\]\] " to "")
m (Text replacement - " \[\[Category:Scripting Commands OFP 1.[4-9]{2}(\|(\{\{uc:\{\{PAGENAME\}\}\}\}|#|[A-Z0-9]+))?\]\]" to "")
Line 31: Line 31:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
[[Category:Scripting Commands OFP 1.96|OBJECT]]

Revision as of 00:36, 25 March 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Detection

Syntax

Syntax:
Syntax needed
Parameters:
id: Number
Return Value:
Return value needed

Examples

Example 1:
_obj = object 1

Additional Information

See also:
nearestObjectsnearObjectsReadynearObjectsnearestObject

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
(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.