Soundonce: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
soundonce <sound number> | '''soundonce''' <sound number><br> | ||
'''soundoncevar''' <sound number> | |||
Plays the sound <sound number> as defined by [[definesound]] the same way that the [[sound]] command does, except that the same sound may not begin playing again until the current instance of it has finished. | Plays the sound <sound number> as defined by [[definesound]] the same way that the [[sound]] command does, except that the same sound may not begin playing again until the current instance of it (from any actor) has finished. | ||
{{varsuffix}} | |||
[[Category:Duke3D 1.3/1.5 commands]] | [[Category:Duke3D 1.3/1.5 commands]] | ||
[[Category:Sound manipulation]] | [[Category:Sound manipulation]] |
Latest revision as of 12:04, 9 February 2016
soundonce <sound number>
soundoncevar <sound number>
Plays the sound <sound number> as defined by definesound the same way that the sound command does, except that the same sound may not begin playing again until the current instance of it (from any actor) has finished.
Commands with an additional "var" suffix take gamevars rather than constants or defined labels for their inputs. As an alternate short form, "varvar" can be dropped from these commands; for example ife serves an an alias for ifvarvare.