From EDukeWiki
Revision as of 19:38, 24 February 2011 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

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.