Ifsound

From EDukeWiki
Revision as of 12:53, 4 May 2009 by One (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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!