Ifsound: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
ifsound <sound> { | '''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. | ||
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]] |
Latest revision as of 11: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!