Env entity igniter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(raw; needs cleanup)
 
(semi-automated cleanup)
Line 1: Line 1:
{{cleanup}}
{{wrongtitle|title=env_entity_igniter}}
env_entity_igniter


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


KEYS
==Availability==
{{in game|point}} {{game-base}}
{{in code|class=CEntityFlame|file=EntityFlame.cpp}}


Name targetname <target_source> The name that other entities refer to this entity by.
==Keyvalues==
*{{kv Targetname}}
*'''target'''
:<target_destination> Name of the entity to catch on fire. Default:
*'''lifetime'''
:<float> Duration of flames. Default: 10


Entity to ignite target <target_destination> Name of the entity to catch on fire.
==Inputs==
*{{i Targetname}}
*'''Ignite'''
:Ignite the target entity.


Lifetime in seconds lifetime <float> Duration of flames.
==Outputs==
*{{o Targetname}}


 
[[Category:Entities]]
INPUTS
 
Kill Removes this entity from the world.
 
KillHierarchy Removes this entity and all its children from the world.
 
AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
 
FireUser1 Causes this entity's OnUser1 output to be fired.
 
FireUser2 Causes this entity's OnUser2 output to be fired.
 
FireUser3 Causes this entity's OnUser3 output to be fired.
 
FireUser4 Causes this entity's OnUser4 output to be fired.
 
Ignite Ignite the target entity.
 
 
OUTPUTS
 
OnUser1 Fired in response to FireUser1 input.
 
OnUser2 Fired in response to FireUser2 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.

Revision as of 20:21, 7 October 2005

Template:Wrongtitle

Entity Description

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

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

<target_destination> Name of the entity to catch on fire. Default:
  • lifetime
<float> Duration of flames. Default: 10

Inputs

  • Ignite
Ignite the target entity.

Outputs