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 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)
  • ints[3]=3D height (pixels)
  • ints[4]=is decoration? (0/1)
  • strs[0]=image file path