Difference between revisions of "Sound"
From AGI Wiki
Jump to navigationJump to searchLine 9: | Line 9: | ||
== <br />Description == | == <br />Description == | ||
− | Sound SOUND_NUM is played. fDONE_FLAG is reset when the command is issued, and set when the sound finishes playing or is stopped with the stop.sound command. | + | Sound SOUND_NUM is played. fDONE_FLAG is reset when the command is issued, and set when the sound finishes playing or is stopped with the <code>[[stop.sound]]</code> command. |
− | The sound must be loaded before it is played. This can be done with the load.sound command. | + | The sound must be loaded before it is played. This can be done with the <code>[[load.sound]]</code> command. |
== <br />Sources == | == <br />Sources == |
Revision as of 16:53, 30 December 2013
Sound
Syntax
sound(SOUND_NUM,fDONE_FLAG);
Description
Sound SOUND_NUM is played. fDONE_FLAG is reset when the command is issued, and set when the sound finishes playing or is stopped with the stop.sound
command.
The sound must be loaded before it is played. This can be done with the load.sound
command.
Sources
See also