Entities

Entities are used in to specify player spawn locations or to add effects, doors, items and more to a map.

Category: env (14)

ID 32 - Env_Room (Room)

Info

Defines a room for the light engine. The room starts at the position of the entity.

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]=area width (tiles)
  • ints[1]=area height (tiles)
  • ints[2]=shadow height (pixels)
  • ints[3]=color red (0-255)
  • ints[4]=color green (0-255)
  • ints[5]=color blue (0-255)
  • ints[6]=darken walls at edges? (0/1)