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

Func wall toggle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
m (Any brush entity can cast lightmap shadows in Source 2007 and newer using vrad_brush_cast_shadows)
Line 4: Line 4:
Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been replaced by the [[func_brush]] with its ''Solidity'' property set to ''Toggle''.
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.
A [[brush entity]] that can be toggled on/off. When off, the brush will be non-solid and invisible.  
{{Note|{{l4d2}} clientside ragdolls pass through this entity while they correctly collide with func_brush}}
{{Note|{{l4d2}} clientside ragdolls pass through this entity while they correctly collide with func_brush}}
{{bug|Using this entity with the [[Tool textures|Player Clip texture]] can cause the map to crash during compile{{confirm}}}}
{{bug|Using this entity with the [[Tool textures|Player Clip texture]] can cause the map to crash during compile{{confirm}}}}

Revision as of 18:12, 10 July 2024

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 a brush entity 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.

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 ?]

Flags

Starts Invisible : [1]

Inputs

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

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

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.
Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.

See Also