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 (Text replacement - "]]<dd class="note">" to "]]</dt> <dd class="note">") |
||
Line 30: | Line 30: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on 22:10, 1 August 2006</dd> | <dd class="notedate">Posted on 22:10, 1 August 2006</dd> | ||
<dt class="note">[[User:Hoz|Hoz]]<dd class="note"> | <dt class="note">[[User:Hoz|Hoz]]</dt> | ||
<dd class="note"> | |||
{{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 {{ic|_object [[setPos]] [-10000, 0 ,0];}} terrain objects to get them out of the way, but you can use {{ic|_object [[setDamage]] 1;}} to get trees or other flora out of the way. <br> | {{GVI|ofp|1.85}} You cannot {{ic|_object [[setPos]] [-10000, 0 ,0];}} terrain objects to get them out of the way, but you can use {{ic|_object [[setDamage]] 1;}} to get trees or other flora out of the way. <br> | ||
{{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. | ||
</dl> | </dl> |
Revision as of 18:32, 12 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.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.