Env firesource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(updates BED TIME)
Line 1: Line 1:
{{base point|env_firesource}}
{{lang|Env firesource}}
[[File:env_firesource.png|left|link=]]{{base point|env_firesource}} It provides heat to all nearby {{ent|env_fire}} entities.


==Entity description==
{{code class|CEnvFireSource|fire.cpp}}
[[File:env_firesource.png|left|link=]]
It provides heat to all nearby [[env_fire]] entities. Cannot be extinguished.{{clr}}


== Keyvalues ==
{{clr}}
{{KV|Radius|float|The radius around this entity in which to provide heat.}}
{{KV|Intensity / Damage|float|Amount of heat 'damage' to apply to env_fire entities within the radius.}}
{{KV Targetname}}
{{KV Parentname}}


== Flags ==
==Flags==
* 1 : Start On
*1: Start On


== Inputs ==
==Keyvalues==
{{KV|Radius (fireradius)|float|The radius around this entity in which to provide heat.}}
{{KV|Intensity / Damage (firedamage)|float|Amount of heat "damage" to apply to <code>env_fire</code>s within the '''Radius'''.}}
{{KV BaseEntity|css=1}}
 
==Inputs==
{{IO|Enable|Enable fire source.}}
{{IO|Enable|Enable fire source.}}
{{IO|Disable|Disable fire source.}}
{{IO|Disable|Disable fire source.}}
{{I Targetname}}
{{I BaseEntity|prel4d=1}}
{{I Parentname}}


== Outputs ==
==Outputs==
{{O Targetname}}
{{O BaseEntity|l4d=1}}

Revision as of 19:12, 24 September 2018

English (en)中文 (zh)Translate (Translate)
Env firesource.png

Template:Base point It provides heat to all nearby env_fire entities.

C++ In code, it is represented by theCEnvFireSourceclass, defined in thefire.cppfile.

Flags

  • 1: Start On

Keyvalues

Radius (fireradius) ([todo internal name (i)]) <float>
The radius around this entity in which to provide heat.
Intensity / Damage (firedamage) ([todo internal name (i)]) <float>
Amount of heat "damage" to apply to env_fires within the Radius.


Inputs

Enable
Enable fire source.
Disable
Disable fire source.


Outputs