Name
WaitSampleEnd -- halt until sample has finished playing
Synopsis
WaitSampleEnd(id)
Function
This function halts the program flow until the sample specified by id has finished playing. After that, the execution of your script is continued. If you need to do something while your sample is playing, use the IsSamplePlaying() command in conjunction with a loop.

Inputs
id
identifier of a sample that is currently playing
Example
See LoadSample


Show TOC