Prop wall breakable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
mNo edit summary
Line 1: Line 1:
__NOTOC__
{{CD2|CPropBreakableWall}}
{{CD2|CPropBreakableWall}}
{{l4d2 point|prop_wall_breakable}}
{{l4d2 point|prop_wall_breakable}}

Revision as of 16:18, 21 November 2022

C++ class hierarchy
CPropBreakableWall
CPropDoorRotatingBreakable
CPropDoorRotating
CBasePropDoor
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

Template:L4d2 point

A section of wall that's breakable just like doors are.

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

Flags

Start Unbreakable : [524288]

Inputs

SetUnbreakable
The wall can't be broken.
SetBreakable
The wall can be broken.

Outputs

OnBreak
Fired when the wall changes damage states.

See also