Soundonce: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
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 has finished. | ||
{{varsuffix}} | |||
[[Category:Duke3D 1.3/1.5 commands]] | [[Category:Duke3D 1.3/1.5 commands]] | ||
[[Category:Sound manipulation]] | [[Category:Sound manipulation]] |
Revision as of 19:38, 24 February 2011
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 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.