Env entity igniter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(updates)
Line 1: Line 1:
{{base point|env_entity_igniter}}
{{lang|Env entity igniter}}
{{base point|env_entity_igniter}} It catches a target entity on fire. If the target is an animating model, it will have flame [[sprite]]s attached to its [[skeleton]]. Otherwise the target will emit particle flame puffs.


==Entity description==
This entity may also use <code>entityflame</code> for the classname.
It 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.


This entity may also use <code>entityflame</code> for the classname.
{{code class|CEntityFlame{{hl2}}{{portal}}{{tf2}}{{l4d}}|EntityFlame.cpp}}


{{code class|CEntityFlame|EntityFlame.cpp}}
{{code class|CEnvEntityIgniter{{l4d2}}{{as}}{{portal2}}{{csgo}}|EntityFlame.cpp}}


== Keyvalues ==
==Keyvalues==
{{KV|Entity to ignite|target_destination|Name of the entity to catch on fire.}}
{{KV|Entity to ignite (target)|target_destination|Name of the entity to catch on fire.}}
{{KV|Lifetime in seconds|float|Duration of flames.}}
{{KV|Lifetime in seconds (lifetime)|float|Duration of flames.}}
{{KV Targetname}}
{{KV BaseEntity|css=1}}


== Inputs ==
==Inputs==
{{IO|Ignite|Ignite the target entity.}}
{{IO|Ignite|Ignite the target entity.}}
{{I Targetname}}
{{I BaseEntity|prel4d=1}}


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

Revision as of 04:12, 24 September 2018

English (en)中文 (zh)Translate (Translate)

Template:Base point It catches a target entity on fire. If the target is an animating model, it will have flame sprites attached to its skeleton. Otherwise the target will emit particle flame puffs.

This entity may also use entityflame for the classname.

C++ In code, it is represented by theCEntityFlameHalf-Life 2PortalTeam Fortress 2Left 4 Deadclass, defined in theEntityFlame.cppfile.
C++ In code, it is represented by theCEnvEntityIgniterLeft 4 Dead 2Alien SwarmPortal 2Counter-Strike: Global Offensiveclass, defined in theEntityFlame.cppfile.

Keyvalues

Entity to ignite (target) ([todo internal name (i)]) <targetname>
Name of the entity to catch on fire.
Lifetime in seconds (lifetime) ([todo internal name (i)]) <float>
Duration of flames.


Inputs

Ignite
Ignite the target entity.


Outputs