Entities

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

Category: info (21)

ID 8 - Info_Animation (Anim)

Info

Animates a tile. Each tile on the map which equals the start tile in the settings of this entity will get animated. It will change its look in the specified speed until it reaches the end tile number. Then the animation will start again from the start tile number.

Attention: Never use the same start tile number in multiple different Info_Animation entities! This is not supported.

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]=start tile/frame index/number
  • ints[1]=end tile/frame index/number
  • ints[2]=animation speed (milliseconds per frame)