Entities 1x4l2i

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

Category: all (50) 4e402g

ID 33 - Env_Light (Light) 4f1g2l

Info g1p6j

Creates a light for the light engine. Must be in a room (Env_Room) or close to a room to work.

Values / Properties 31956

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]=light range (0-256)
  • ints[1]=color red (0-255)
  • ints[2]=color green (0-255)
  • ints[3]=color blue (0-255)
  • ints[4]=start angle (0-359)
  • ints[5]=end angle (0-359)
  • ints[6]=rotation speed
  • (ints[7]=copy of ints[4] with current rotation applied)
  • (ints[8]=copy of ints[5] with current rotation applied)
  • str[0]=additive (0.0-1.0)
  • str[1]=x offset
  • str[2]=y offset
  • str[5]=rotation offset(edited)