Func wall toggle: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Bug:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!  (tested in:
Bug:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!  (tested in:  )
)
 Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
		
	
|  (old hard to verify and doesn) |  (This is case for every brush entity so not needed to be mentioned here specifically) | ||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| {{tabs|func_wall_toggle|goldsrc=1|source=1|main=source}} | {{tabs|func_wall_toggle|goldsrc=1|source=1|main=source}} | ||
| {{obsolete|entity=1}} | {{obsolete|entity=1|replacement={{ent|func_brush}}}} | ||
| {{CD|CFuncWallToggle|file1=bmodels.cpp}} | {{CD|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 deprecated by the  | Obsolete entity from [[Half-Life]] provided for backwards compatibility. Has been deprecated by the {{ent|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.   | ||
| {{bug|{{l4ds}} clientside ragdolls pass through this entity while they correctly collide with func_brush|tested={{l4d2}}}} | |||
| {{bug|tested={{tf2}}|<!--bug with VBSP setting angles kv instead of properly transforming geometry-->This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated [[instance]]s, it will not be rotated correctly!}} | |||
| __NOTOC__ | __NOTOC__ | ||
| == Keyvalues == | == Keyvalues == | ||
| {{Brush rendering note}} | {{Brush rendering note}} | ||
| {{KV Targetname}} | {{KV Targetname}} | ||
| Line 20: | Line 19: | ||
| == Inputs == | == Inputs == | ||
| {{ | {{I|Toggle|Toggle the brush on/off. When off, the brush will be non-solid and invisible.}} | ||
| == See Also == | == See Also == | ||
Latest revision as of 07:48, 4 May 2025

This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches. 
It has since been deprecated by: func_brush.
It has since been deprecated by: func_brush.
|  Class hierarchy | 
|---|
| CFuncWallToggle | 
|  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.
 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.
 Bug:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!  (tested in:
Bug:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!  (tested in:  )
)
Keyvalues
 Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs
Note:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs- 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.


