You must be logged in to do that.

PlaySound

PlaySound
int PlaySound(int handle, int volume)

Documentation

Handle should be a handle obtained from loadsound()
Volume should be 0..100
You can also play this through a channel, as shown below. Playing through a channel allows you to use stopsound.

Example Usage

int MySound;
int MyChannel;
MySound = LoadSound("file.wav");

PlaySound(MySound, 100); //Played without assigned channel
MyChannel = PlaySound(MySound, 100); //Played through a channel
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.