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 24 - Env_Decal (Dcl) 6p38i

Info 36691t

Renders a decal on the map at the position of the entity.

Attention: Env_Decal entities are NOT accessible via any command or Lua (ignore the text in the section below. It is wrong). This is because they use a different system internally. Use Env_Sprite if you need images which can be modified/accessed using Lua.

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]=decal frame number
  • ints[1]=color red (0-255)
  • ints[2]=color green (0-255)
  • ints[3]=color blue (0-255)
  • ints[4]=rotation
  • strs[0]=transparency (0.0-1.0)