object

From Bohemia Interactive Community
Revision as of 18:38, 15 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

object id

Operand types:

id: Number

Type of returned value:

Object

Description:

Return object with given ID. Object ID's can be checked in mission editor.

Example:

_obj = object 1

Comments

Macguba To check object IDs in the Mission Editor click on "Show IDs" and zoom in close. Available in v1.75 (Resistance) and above.

Tactician Since version 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.