Globalsound: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Added an example
One (talk | contribs)
No edit summary
Line 1: Line 1:
globalsound <sound>
'''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]].
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]].

Revision as of 12:35, 4 May 2009

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
...