Sound

From AGI Wiki
Revision as of 16:45, 30 December 2013 by Andrew Branscom (talk | contribs) (Created page with "Sound   == <br />Syntax == <blockquote><code>sound(SOUND_NUM,fDONE_FLAG);</code></blockquote> == <br />Description == Sound SOUND_NUM is played. fDONE_FLAG is reset ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

AGI Studio Help File


See also