Ifsound

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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!