Globalsound

From EDukeWiki
Revision as of 09:42, 7 September 2006 by TX (talk | contribs) (Added an example)
Jump to navigation Jump to search

globalsound <sound>

Plays a sound that can be heard everywhere in the map. The <sound> value is the name or number of the sound to play, not the filename of the sound. See globalsoundvar.

state checkboss1hitstate
  ifrnd 2
    spawn BLOODPOOL
  ifdead
  {
    ifspritepal 0
      globalsound DUKE_TALKTOBOSSFALL
    else
...