ScriptEvent:startSound

From Mod Wiki

Parameters

string key -- Key to look up the sound.
integer channel -- Channel to start the sound on.

Result

float

Supported By

idEntity

Comments

  • The key must begin with 'snd_'.

Functionality

Starts a sound shader on the specified channel, and returns the length of the sound played.