EVENT SOUND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Created page with "EVENT_SOUND is a Game Event. This event is triggered upon playback of any sound. This allows the "hard coded" sounds to be altered in a context-awa..."
(No difference)

Revision as of 16:00, 14 May 2012

EVENT_SOUND is a Game Event.

This event is triggered upon playback of any sound. This allows the "hard coded" sounds to be altered in a context-aware fashion instead of having to resort to clunky hacks like replacing them with a blank sound effect. The RETURN variable is set to the sound effect number of the sound to be played. Set it to -1 to cancel playback.