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
(Cleaned up!)
(-added class hierarchy, cleanup)
 
(26 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{wrongtitle|title=env_firesource}}
{{LanguageBar}}
[[File:env_firesource.png|left|link=]]
{{CD|CEnvFireSource|file1=fire.cpp}}
{{This is a|point entity|name=env_firesource}} It provides heat to all nearby {{ent|env_fire}} entities.


==Entity Description==
{{clr}}
An entity that provides heat to all nearby env_fire entities. Cannot be extinguished.


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


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


* 1 : Start On
== Inputs ==
 
{{I|Enable|Enable fire source.}}
==Inputs==
{{I|Disable|Disable fire source.}}
 
* {{i targetname}}
 
* {{i parentname}}
 
*'''Enable'''
:Enable fire source.
 
*'''Disable'''
:Disable fire source.
 
==Outputs==
 
* {{o targetname}}
 
[[Category:Entities]]

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.