Plays the sound.
procedure Play(const Volume: Integer = 100; const Loop: Boolean = False);
Parameters |
Description |
const Volume: Integer = 100 |
(optional) The volume at which the sound should be played (0-100, default 100). |
const Loop: Boolean = False |
(optional) Set this value to True if you want the sound to loop continuously (default False). |
The volume level is combined with the MasterVolume to create the final volume.
You can play the same sound multiple times simultaneously. Use PlayCount to get the number of instances currently playing.
Copyright (c) 2012. All rights reserved.
|