ScriptEvent:startSound

From Mod Wiki
Revision as of 18:15, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.