scripted_sound
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.
The sound to play. Supports Game Sounds and direct filenames.
- Target Entity (target) <target_destination>
The entity that should play the sound.
The entity that should play the sound.
- Grab All (GrabAll) <choices>
Makes all entities play the sound instead of just one.
Makes all entities play the sound instead of just one.
Inputs
- PlaySound
<void>
Starts the sound.
Starts the sound.
- PlaySoundOnEntity
<target_destination>
Plays the sound on the specified entity.
Plays the sound on the specified entity.
- StopSound
<void>
Stops the sound if it is playing.
Stops the sound if it is playing.
- SetSound
<string>
Sets the sound.
Sets the sound.
