Prop car glass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
* [[prop_car_alarm]]
* [[prop_car_alarm]]


[[Category:Prop entities]]
[[Category:Prop entities|car glass]]

Revision as of 08:39, 1 September 2024

C++ Class hierarchy
CCarGlassProp
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_car_glass is a point entity available in Left 4 Dead seriesLeft 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. Difference from simply using prop_dynamic is this forwards damage or player standing on it to the parented prop_car_alarm thus it can trigger it.

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

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