env_firesensor

From Source Entities
Jump to navigation Jump to search

Code classes:

env_firesensor is a point entity present in all Source games. It detects changes in heat from nearby env_fires (other fire-based things are ignored).

Flags[edit | edit source]

  • 1: Start On

Keyvalues[edit | edit source]

Radius (fireradius) <float>
The radius around this entity in which to detect heat changes.
Heat level (heatlevel) <float>
The target heat level to check for.
Time at level (heattime) <float>
The amount of time the heat level must spend over the target level before the OnHeatLevelStart output is fired.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.

Outputs[edit | edit source]

OnHeatLevelStart
Fires when the heat has been above Heat level for the amount of time defined by Time at level.
OnHeatLevelEnd
Fires when the heat falls below Heat level.