prop_car_glass

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CCarGlassProp
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_car_glass is a point entity available in Left 4 Dead series Left 4 Dead series. This class is the same as prop_dynamic, with a car alarm, to be used together with prop_car_alarm. It differs from a simple prop_dynamic in that damage or a player standing on it is forwarded to the parented prop_car_alarm to allow triggering it.

Keyvalues

Name (targetname) <string>
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

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.

See also