Sound: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
sound <sound number>
'''sound''' <sound number><br>
'''soundvar''' <sound number>


Plays the sound <sound number> as defined by [[definesound]].
Plays the sound <sound number> as defined by [[definesound]].
{{varsuffix}}


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

Latest revision as of 19:39, 24 February 2011

sound <sound number>
soundvar <sound number>

Plays the sound <sound number> as defined by definesound.

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.