prop_car_alarm

From Source Entities
Jump to navigation Jump to search

Code classes:

prop_car_alarm is a point entity present in both L4d.pngL4d2-small.pngLeft 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 L4d2-small.png)
Disables the alarm functionality.

Inputs[edit | edit source]

Enable  (only available in L4d2-small.png)
Enables the car alarm functionality.
Disable  (only available in L4d2-small.png)
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.