object: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 9: | Line 9: | ||
| Return [[Object]] with given id. Object ID's can be checked in mission editor.<br><br> | | Return [[Object]] with given id. Object ID's can be checked in mission editor.<br><br> | ||
{{Feature arma3|This command is not in Arma 3. Use [[nearestObject]] command family instead.}}|= | {{Feature arma3|This command is not in Arma 3. Use [[nearestObject]] command family instead.}}|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Object]] <nowiki>=</nowiki> '''object''' id |= | | [[Object]] <nowiki>=</nowiki> '''object''' id |SYNTAX= | ||
|p1= id: [[Number]] |= | |p1= id: [[Number]] |PARAMETER1= | ||
| [[Object]] |= | | [[Object]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_obj <nowiki>=</nowiki> '''object''' 1 </code> |= | |x1= <code>_obj <nowiki>=</nowiki> '''object''' 1 </code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[nearestObjects]], [[nearObjectsReady]], [[nearObjects]], [[nearestObject]] |= | | [[nearestObjects]], [[nearObjectsReady]], [[nearObjects]], [[nearestObject]] |SEEALSO= | ||
}} | }} |
Revision as of 14:44, 7 April 2019
Description
- Description:
- Return Object with given id. Object ID's can be checked in mission editor.
- Groups:
- Uncategorised
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.