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)

28 - Env_Image (Img)

Info

Draws an image. Images have less options than sprites and are normally drawn on the ground. The origin of the image is the entity position but an offset can be defined in the settings 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]=x offset (pixels)
  • ints[1]=y offset (pixels)
  • ints[2]=cover players? (0/1)
  • strs[0]=image file path