PLAYS THE CONTENT OF THE SYSTEM OBJECT NUMBER N (SOUND OR MOVIE) AND WAITS FOR THE END
ACTION
The command PLAY_WAIT N plays the sound or the movie loaded in the system object designated by its number N.
When it is finished, the program resumes.
SYNTAX:
PLAY_WAIT N
USE ERROR EXAMPLE
rem create a SOUND
sound 1
rem load a sound file
file_load 1,"crack.wav"
rem play the sound
play_wait 1
print "playing is finished"
PLAY_WAIT
PLAY_WAIT N
SEE ALSO
FILE_LOAD
SOUND
MOVIE
PLAY