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

Env funnel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{languageBar}}
{{languageBar}}
{{Distinguish|prop_tractor_beam|desc1= Sometimes shortened to funnel, from [[Portal 2]]}}
[[File:Funnel_animation.gif‎|right]]
[[File:Funnel_animation.gif‎|right]]
{{this is a|point entity|name=env_funnel}} It creates many sprites which move toward a point (or from a point). This effect is used in {{ent|c1a0e}}{{hl1}}. The sprite is hardcoded to be <code>sprites/flare6.vmt</code>, but some games are missing this texture.
{{this is a|point entity|name=env_funnel}} It creates many sprites which move toward a point (or from a point). This effect is used in {{ent|c1a0e}}{{hl1}}. The sprite is hardcoded to be <code>sprites/flare6.vmt</code>, but some games are missing this texture.

Revision as of 08:23, 23 August 2024

English (en)中文 (zh)Translate (Translate)
Not to be confused with prop_tractor_beam (Sometimes shortened to funnel, from Portal 2).
Funnel animation.gif

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