prop_car_alarm
Jump to navigation
Jump to search
Code classes:
CCarProp
CPhysicsProp
CBreakableProp
CBaseProp
(props)CBaseAnimating
(models)CBaseEntity
(all ents)
prop_car_alarm
is a point entity present in both Left 4 Dead games. It's a physics prop that summons infected when disturbed. The glass part of the entity should be a
prop_car_glass
. See Left 4 Dead 2/sdk_content/mapsrc/instance/prop_car_alarm.vmf
for a fully-made alarm car.
Keyvalues[edit | edit source]
- Start Disabled
(startdisabled)
<boolean>
(only available in)
- Disables the alarm functionality.
Inputs[edit | edit source]
- Enable (only available in
)
- Enables the car alarm functionality.
- Disable (only available in
)
- Disables the car alarm functionality.
- SurvivorStandingOnCar (Not in FGD)
- Tells the car it was touched, triggering the alarm. Usually sent automatically.
Outputs[edit | edit source]
- OnCarAlarmStart
- Fires when the car is touched or shot.
- OnCarAlarmEnd
- Fires a short time after the car is touched or shot.
- OnCarAlarmChirpStart
- Fires when the car is almost shot.
- OnCarAlarmChirpEnd
- Fires a short time after the car is almost shot.