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

func_wall_toggle

From Valve Developer Community
Revision as of 20:49, 9 February 2024 by Nescius (talk | contribs) (-added class hierarchy, cleanup)
Jump to navigation Jump to search
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
C++ class hierarchy
CFuncWallToggle defined in C++ bmodels.cpp
CFuncWall
CBaseEntity

func_wall_toggle is an e2 available in all Source Source games. Legacy support only. Use func_brush instead. Obsolete entity from Half-Life provided for backwards compatibility. Has been replaced by the func_brush with its Solidity property set to Toggle.

A brush entity that can be toggled on/off. When off, the brush will be non-solid and invisible. Does not cast lightmap shadows.

Note.pngNote:Left 4 Dead 2 clientside ragdolls pass through this entity while they correctly collide with func_brush
Icon-Bug.pngBug:Using this entity with the Player Clip texture can cause the map to crash during compile[confirm]  [todo tested in ?]

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

Template:KV vrad

Flags

Starts Invisible : [1]

Inputs

Toggle
Toggle the brush on/off. When off, the brush will be non-solid and invisible.

See Also