NAVIGATION
Wiki » Reference » DOOM 3 Script Events » startSound
ARTICLE
startSound
This is a script event on id Tech 4 engines, present on DOOM 3, Quake 4 and Prey. Below you can find its signature for each game that declares it.
DOOM 3
Plays the sound specified by the snd_* key/value pair on the channel and returns the length of the sound. This is the preferred method for playing sounds on an entity since it ensures that the sound is precached.
| Property | Value |
|---|---|
| Type | script event |
| Returns | float |
| Parameters | string sound, float channel, float netSync |
| Section | all entities |
Quake 4
| Property | Value |
|---|---|
| Type | script event |
| Returns | float |
| Parameters | string, float, float |
Prey
| Property | Value |
|---|---|
| Type | script event |
| Returns | float |
| Parameters | string, float, float |
Last changed Sep 21, 2026
