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 34 - Env_LightStripe (LStripe)

Info

Creates a light stripe which can be used for the area between a room and no room for a soft transition. The stripe area begins at the entity positions.

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]=direction (clockwise: 0=top, 1=right, 2=bottom, 3=left)
  • ints[3]=color red (0-255)
  • ints[4]=color green (0-255)
  • ints[5]=color blue (0-255)