Entities 3256d

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

Category: env (14) 246l

ID 28 - Env_Image (Img) 3j2r6p

Info 36691t

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 15u3r

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