object: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
||
Line 34: | Line 34: | ||
</dl> | </dl> | ||
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP 1.96|OBJECT]] | [[Category:Scripting Commands OFP 1.96|OBJECT]] |
Revision as of 01:50, 18 January 2021
Description
- Description:
- Return Object with given id. Object ID's can be checked in mission editor.
- Groups:
- Object Detection
Syntax
Examples
- Example 1:
_obj = 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
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.