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

Category: all (50)

ID 51 - Gen_Sprites (Sprites)


Spawns sprite particles from the center 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]=sprite frame
  • ints[1]=color red (0-255)
  • ints[2]=color green (0-255)
  • ints[3]=color blue (0-255)
  • ints[4]=x speed min
  • ints[5]=x speed max
  • ints[6]=y speed min
  • ints[7]=y speed max
  • ints[8]=sprite type
  • strs[0]=transparency (0.0-1.0)