Skip to content

rq.MusicNow ​

since 2.4.0

What rq.music.current gives: the track that plays now.

Fields ​

NameTypeDescription
nointegerThe track number.
namestringIts name, as in rq.music.info.
file (optional)stringThe mod's file that plays; nil for the game's.
mod (optional)stringThe id of the mod whose file plays.
posnumberWhere it plays, in seconds from the file's start.
secondsnumberThe length of what plays, in seconds.

Used by ​

rq.music.current