Func wall toggle: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Bug:
 clientside ragdolls pass through this entity while they correctly collide with func_brush  [todo tested in ?]
Bug:Using this entity with the Player Clip texture can cause the map to crash during compile[confirm]  [todo tested in ?]
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
		
	
No edit summary  | 
				SirYodaJedi (talk | contribs)  mNo edit summary  | 
				||
| Line 2: | Line 2: | ||
{{CD2|CFuncWallToggle|file1=bmodels.cpp}}  | {{CD2|CFuncWallToggle|file1=bmodels.cpp}}  | ||
{{this is a|brush entity|name=func_wall_toggle}} {{base brush legacy|func_brush}}  | {{this is a|brush entity|name=func_wall_toggle}} {{base brush legacy|func_brush}}  | ||
Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been   | Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been deprecated 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.    | A [[brush entity]] that can be toggled on/off. When off, the brush will be non-solid and invisible.    | ||
Revision as of 06:08, 3 September 2024
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
CFuncWallToggle defined in bmodels.cpp
 | 
func_wall_toggle  is a   brush entity  available in all 
 Source games. Legacy support only. Use func_brush instead.
Obsolete entity from Half-Life provided for backwards compatibility. Has been deprecated 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.
By default, it does not cast lightmap shadows, unless vrad_brush_cast_shadows has been added to it (either to its class in the FGD, or manually, by turning off SmartEdit).
Keyvalues
- Name (targetname) <string>[ Edit ]
 - The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. 
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities 
Flags
- Starts Invisible : [1]
 
Inputs
- Toggle
 - Toggle the brush on/off. When off, the brush will be non-solid and invisible.