music.playing variable

Started by deltamatrix, Mon 01/09/2003 01:38:26

Previous topic - Next topic

deltamatrix

Please CJ!

Can we have a variable that returns the number of the specific music thats playing.
BAD WOLF - TORCHWOOD - MR SAXON - THE BEES ARE DISAPPEARING - PANDORICA - RIVER SONG

Ishmael

GetCurrentMusic
GetCurrentMusic()

Returns the number of the currently playing background music, or -1 if no music is playing.
Example:

if (GetCurrentMusic()==-1)
   PlayMusic(2);

will play music2 if no music is playing.

From the manual...


RTFM!!!
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

delta


Ishmael

>:/ That wasn't very nicely said...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

Yes, there's really no need for that sort of language on these forums. A simple "thanks" to the person who helped you out would suffice.

:)

SMF spam blocked by CleanTalk