Ifsound: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:If conditions]]
[[Category:Sound manipulation]]
[[Category:Sound manipulation]]

Revision as of 08:30, 24 September 2005

ifsound <sound> { code }

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!