Home   Help Search Login Register  

Author Topic: Looping Music  (Read 1036 times)

0 Members and 1 Guest are viewing this topic.

Chris330

  • Guest
Looping Music
« on: 17 Apr 2005, 14:04:39 »
Dear All,

I am having a problem getting OFP to play music in a loop. I have a script that waits for the track to finish before going back to the start and playing the track again. Problem is it doesn't play the track after the first time it has played.

I have checked my scripts thoroughly and there are no errors as I was testing it using the player setdammage 1 command. Everything happens when it should. Why won't it play the music over and over again ???

Chris330

  • Guest
Re:Looping Music
« Reply #1 on: 17 Apr 2005, 14:22:16 »
I DON'T BELIEVE IT!! ;D :-X

The music file converter I have was showing the elapsed time as 1 min 40secs for the track length.

So I told the script to wait for 140 seconds not 100 seconds which is 1min and 40secs. Oops :o ::) 8)
« Last Edit: 17 Apr 2005, 14:22:31 by Chris330 »

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Looping Music
« Reply #2 on: 17 Apr 2005, 16:15:35 »
Doh!
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."