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

Env entity igniter

From Valve Developer Community
(Redirected from Entityflame)
Jump to: navigation, search
English (en)中文 (zh)
Edit

env_entity_igniter is a point entity available in all Source Source games. 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.


In code, it is represented by theCEntityFlameHalf-Life 2PortalTeam Fortress 2Left 4 Deadclass, defined in theEntityFlame.cppfile.


In code, it is represented by theCEnvEntityIgniterLeft 4 Dead 2Alien SwarmPortal 2Counter-Strike: Global Offensiveclass, defined in theEntityFlame.cppfile.

Keyvalues

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

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

Ignite
Ignite the target entity.