Ifsound: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
One (talk | contribs)
No edit summary
 
Line 1: Line 1:
ifsound <sound> { code }
'''ifsound''' <sound> { do something } else { do something else }


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

Latest revision as of 12:53, 4 May 2009

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!