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 28 - Env_Image (Img) 4u705h

Info g1p6j

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 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]=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