Env funnel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
(-used fl template, concise page)
Line 7: Line 7:
{{code class|CEnvFunnel|effects.cpp}}
{{code class|CEnvFunnel|effects.cpp}}


==Flags==
== Flags ==
*1: Reverse - Funnel repels sprites instead of attracting them.
{{fl|1|Reverse|Funnel repels sprites instead of attracting them.}}


==Keyvalues==
== Keyvalues ==
{{KV BaseEntity|css=1}}
{{KV Targetname}}


==Inputs==
== Inputs ==
{{I BaseEntity|prel4d=1}}
{{IO|Use|nofgd=1|Activates the entity}}
 
==Outputs==
{{O BaseEntity|l4d=1}}

Revision as of 07:14, 1 November 2022

English (en)中文 (zh)Translate (Translate)
Funnel animation.gif

Template:Base point It creates many sprites which move toward a point (or from a point). This effect is used in c1a0eHalf-Life. The sprite is hardcoded to be sprites/flare6.vmt, but some games are missing this texture.

This entity must be activated with the Use input. After it's Used, it is deleted from the map.

C++ In code, it is represented by theCEnvFunnelclass, defined in theeffects.cppfile.

Flags

Reverse : [1]
Funnel repels sprites instead of attracting them.

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

Inputs

Use  !FGD
Activates the entity