Prop car glass: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot under supervision.)
m (→‎See also: Unicodifying, replaced: See Also → See also)
Line 6: Line 6:
{{KV Parentname}}
{{KV Parentname}}


== See Also ==
== See also ==
* [[prop_car_alarm]]
* [[prop_car_alarm]]

Revision as of 12:07, 8 January 2024

C++ Class hierarchy
CCarGlassProp
CDynamicProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_car_glass is an e0 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