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

Env firesource: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, cleanup)
 
Line 1: Line 1:
<!-- When this page is updated to {{langsp}} or {{langsp}} instead of {{lang}}, please move {{this is a}} to the base page, as it is automatically translated. -->{{lang}}[[File:env_firesource.png|left|link=]]{{this is a|point entity|name=env_firesource}} It provides heat to all nearby {{ent|env_fire}} entities.
{{LanguageBar}}
 
[[File:env_firesource.png|left|link=]]
{{code class|CEnvFireSource|fire.cpp}}
{{CD|CEnvFireSource|file1=fire.cpp}}
{{This is a|point entity|name=env_firesource}} It provides heat to all nearby {{ent|env_fire}} entities.


{{clr}}
{{clr}}


==Keyvalues==
== Keyvalues ==
{{KV|Radius (fireradius)|float|The radius around this entity in which to provide heat.}}
{{KV Targetname}}
{{KV|Intensity / Damage (firedamage)|float|Amount of heat "damage" to apply to <code>env_fire</code>s within the '''Radius'''.}}
{{KV|Radius|intn=fireradius|float|The radius around this entity in which to provide heat.}}
{{KV BaseEntity}}
{{KV|Intensity / Damage|intn=firedamage|float|Amount of heat "damage" to apply to <code>env_fire</code>s within the '''Radius'''.}}


==Flags==
==Flags==
{{fl|1|Start On}}
{{fl|1|Start On}}


==Inputs==
== Inputs ==
{{IO|Enable|Enable fire source.}}
{{I|Enable|Enable fire source.}}
{{IO|Disable|Disable fire source.}}
{{I|Disable|Disable fire source.}}
{{I BaseEntity}}
 
==Outputs==
{{O BaseEntity|l4d=1}}

Latest revision as of 13:05, 25 September 2024

English (en)中文 (zh)Translate (Translate)
Env firesource.png
C++ Class hierarchy
CEnvFireSource
CBaseEntity
C++ fire.cpp

env_firesource is a point entity available in all Source Source games. It provides heat to all nearby env_fire entities.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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

Flags

Start On : [1]

Inputs

Enable
Enable fire source.
Disable
Disable fire source.