Name
SeekMusic -- seek to a certain position in a music object (V2.0)
Synopsis
SeekMusic(id, pos)
Function
You can use this function to seek to the specified position in the music specified by id. The music object does not have to be playing. If the music is playing and you call SeekMusic(), it will immediately skip to the specified position. The position is specified in milliseconds. Thus, if you want to skip to the position 3:24, you would have to pass the value 204000 because 3 * 60 * 1000 + 24 * 1000 = 204000.

Please note that this function does not work with Protracker modules.

Inputs
id
identifier of the music object to use
pos
new position for the music

Show TOC