This article's documentation is for anything that uses the Source engine. Click here for more information.

env_embers

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png
class hierarchy
CEmbers defined in effects.cpp
CBaseEntity
env_embers demonstration.

env_embers is a brush entity available in all Source Source games. It spawns fire embers within its volume. For some reason its state can only be changed with the Use input.

Flags

  •  [1] : Start On
  •  [2] : Toggle
       If left off, only one Use input will ever be accepted.

Keyvalues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.
Ember type (particletype) <choices> Obsolete
Deprecated. Not present in code. The manner in which embers should appear and disappear.
  • 0: Normal
  • 1: Smooth Fade
  • 2: Pulled
Density (density) <integer>
Number of particles spawned each second.
Particle Lifetime (lifetime) <integer>
Number of seconds each particle lasts for. A certain amount of randomness is added proportional to the time specified here.
Particle Speed (speed) <integer>
Number of units moved by particles each second.
Ember Color (rendercolor) <color255>
Color of the sprites.

Inputs

Color <color255> !FGD
Changes the color that new sprites will spawn with.