Stop.sound
From Sierra WikiNew
Jump to navigationJump to search
The stop.sound command stops a sound resource that is playing.
Syntax
stop.sound();
Remarks
If a sound is currently playing, this command will stop it, and set the done flag associated with the sound to TRUE. If no sound is currently playing, this command does nothing.
Possible Errors
None.
Example
Code:
load.sound(20);
sound(20, f199);
...
stop.sound(); [ f199 is now set to TRUE
Technical Information
Required Interpreter Version: | Available in all AGI versions. |
Byte-Code Value: | 100 (0x64 hex) |