Entities 2i4z3e

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

Category: all (50) 1c3v6c

ID 28 - Env_Image (Img) 3m4y2r

Info 46wr

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 1k2v5s

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