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 23 - Env_Sound (Snd) 501a49

Info g1p6j

Plays a sound on the map. Either at the position of the entity or everywhere.

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]=play only when triggered (0/1)
  • ints[1]=do NOT loop (0/1)
  • ints[2]=play everywhere (0/1)
  • strs[0]=sound file path
  • strs[1]=sound volume (0.0-1.0)