env_airstrike_outdoors

From Source Entities
Jump to navigation Jump to search

Code classes:

env_airstrike_outdoors is a point entity present in L4d2-small.pngLeft 4 Dead 2. It plays an explosion sound, shakes the camera, and spawns an animated debris model.

Keyvalues[edit | edit source]

Model (model) <studio>
A model to spawn.
Animation group (modelgroup) <target_destination>
One or more prop_dynamics that should appear when the explosion happens.
Random sequence 1 (sequence1) <string>
An animation for Model to play when spawned. The entity will randomly decide to play either this or Random sequence 2. If this is left blank, the model may not animate at all.
Random sequence 2 (sequence2) <string>
An animation for Model to play when spawned. The entity will randomly decide to play either this or Random sequence 1. If this is left blank, the model may not animate at all.

Inputs[edit | edit source]

DoEffect
Does the effects once. The sound and shaking can be done again for a short time after sending the input, but once the model fades out the entity is deleted.

See Also[edit | edit source]