Ifsound - EDukeWiki

# Ifsound

From EDukeWiki

ifsound <sound> { do something } else { do something else }

Another If condition returning 'true' if the current sound in <sound> is playing.

NOTE: If player has 'sound' option in menu disabled, this will always return false!

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Ifsound&oldid=8058"
Categories:

- Duke3D 1.3/1.5 commands
- If conditions
- Sound manipulation