Difference between revisions of "Sound"

From AGI Wiki
Jump to navigationJump to search
Line 26: Line 26:
 
[[Category:AGI Sound Resources]]
 
[[Category:AGI Sound Resources]]
 
[[Category:Logic]]
 
[[Category:Logic]]
 +
[[Category:AGI Logic]]

Revision as of 22:01, 9 April 2019

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