scripted_sound is a point entity available in (HL2) Half-Life 2 with any version of Mapbase.

Makes a target entity emit a sound directly, which allows lip syncing, interruption from death or other lines, etc. at the cost of most forms of control. Not exclusive to NPCs.



KeyValues

- Sound Name (message) <sound>
The sound to play. Supports Game Sounds and direct filenames.
- Target Entity (target) <target_destination>
The entity that should play the sound.
- Grab All (GrabAll) <choices>
Makes all entities play the sound instead of just one.

Inputs

- PlaySound <void>
Starts the sound.
- PlaySoundOnEntity <target_destination>
Plays the sound on the specified entity.
- StopSound <void>
Stops the sound if it is playing.
- SetSound <string>
Sets the sound.