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 27 - Env_Hurt (Hurt)

Info

Defines an area in which players are damaged. The area starts at the tile 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]=damage per second (or on movement)
  • ints[1]=damage on (0=time, 1=movement, 2=both)
  • ints[2]=area width (tiles)
  • ints[3]=area height (tiles)