object: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
|r1= [[Object]] | |r1= [[Object]] | ||
|x1= < | |x1= <sqf>_object = object 1;</sqf> | ||
|seealso= [[nearestObjects]] | |seealso= [[nearestObjects]] [[nearObjectsReady]] [[nearObjects]] [[nearestObject]] | ||
}} | }} | ||
{{Note | |||
|user= Hoz | |||
|timestamp= 20060801221000 | |||
|text= | |||
{{GVI|ofp|1.75}} To check object's id in the Mission Editor click on "Show IDs" and zoom in closely.<br> | |||
{{GVI|ofp|1.75}} To check object's id in the Mission Editor click on "Show IDs" and zoom in closely. <br> | {{GVI|ofp|1.85}} You cannot <sqf inline>_object setPos [-10000, 0 ,0];</sqf> terrain objects to get them out of the way, but you can use <sqf inline>_object setDamage 1;</sqf> to get trees or other flora out of the way.<br> | ||
{{GVI|ofp|1.85}} You cannot | |||
{{GVI|arma1|1.08}} This command is no longer available due to terrain data streaming, you need to use extended variant of [[nearestObject]] instead. | {{GVI|arma1|1.08}} This command is no longer available due to terrain data streaming, you need to use extended variant of [[nearestObject]] instead. | ||
}} |
Latest revision as of 15:17, 1 July 2022
Description
- Description:
- Returns Object with given id. Object's id can be checked in mission editor.
- Groups:
- Object Detection
Syntax
Examples
- Example 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 Aug 01, 2006 - 22:10 (UTC)
-
1.75 To check object's id in the Mission Editor click on "Show IDs" and zoom in closely.
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.