Difference between revisions of "ScriptEvent:startSound"

From Mod Wiki
 
(No difference)

Latest revision as of 18:15, 5 November 2007

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.