Entities

Entities can be used in the map editor to specify player spawn locations or to add effects, doors, items and more.

Category: all (50)

29 - Env_Object (Obj)

Info

Creates an object at the tile position. These objects are commonly for decoration only.

Values / Properties

The following values can be set in the entity properties menu of the map editor and can be read using the Lua command entity.

  • ints[0]=object type (see editor for full list)
  • ints[1]=color red (0-255)
  • ints[2]=color green (0-255)
  • ints[3]=color blue (0-255)
  • ints[4]=rotation
  • strs[0]=size (0.1-2.0, 1.0 for original size)
  • strs[1]=transparency (0.0-1.0)