Env entity igniter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 1: Line 1:
{{wrongtitle|title=env_entity_igniter}}
{{base point|env_entity_igniter}}
{{base_point}}
 
==Entity Description==
==Entity Description==
An [[entity]] that catches a target entity on fire. If the target is an animating model, it will have [[sprite]] flames attached to its [[skeleton]]. Otherwise the target will emit particle flame puffs.
An [[entity]] that catches a target entity on fire. If the target is an animating model, it will have [[sprite]] flames attached to its [[skeleton]]. Otherwise the target will emit particle flame puffs.
Line 6: Line 6:
==Availability==
==Availability==
{{in game|point}} {{game-base}}
{{in game|point}} {{game-base}}
In code it is represented by class CEntityFlame, defined in EntityFlame.cpp.
{{code class|CEntityFlame|EntityFlame.cpp}}


==Keyvalues==
== Keyvalues ==
*{{KV Targetname}}
{{KV|Entity to ignite|target_destination|Name of the entity to catch on fire.}}
*'''target'''
{{KV|Lifetime in seconds|float|Duration of flames.}}
:<target_destination> Name of the entity to catch on fire.
{{KV Targetname}}
*'''lifetime'''
:<float> Duration of flames.


==Inputs==
== Inputs ==
*{{i Targetname}}
{{IO|Ignite|Ignite the target entity.}}
*'''Ignite'''
{{I Targetname}}
:Ignite the target entity.


==Outputs==
== Outputs ==
*{{o Targetname}}
{{O Targetname}}

Revision as of 21:10, 7 June 2011

Template:Base point

Entity Description

An entity that catches a target entity on fire. If the target is an animating model, it will have sprite flames attached to its skeleton. Otherwise the target will emit particle flame puffs.

Availability

Template:In game Template:Game-base

C++ In code, it is represented by theCEntityFlameclass, defined in theEntityFlame.cppfile.

Keyvalues

Entity to ignite ([todo internal name (i)]) <targetname>
Name of the entity to catch on fire.
Lifetime in seconds ([todo internal name (i)]) <float>
Duration of flames.
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

Inputs

Ignite
Ignite the target entity.


Outputs