You must be logged in to do that.

SetSongPaused

SetSongPaused
void SetSongPaused(int h, int p)

Documentation

SetSongPaused can pause and unpause a song.
  • SetSongPaused(h,1) pauses the song 'h' at its current position.
  • SetSongPaused(h,0) unpauses (ie plays) the song 'h' at its current position.
The current song position can be retrieved/set with GetSongPos and SetSongPos.

Example Usage

// Say we're playing some song
PlaySong(mysong);

// Then we might want to pause the song
SetSongPaused(mysong, 1);

// Some time later...

// Start the song again where we left off! Hooray!
SetSongPaused(mysong, 0);
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.