Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page MP3 Player Help
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
MP3 Player Help
Old
  (#1)
flaco337 is Offline
Junior Member
 
Posts: 3
Join Date: Jun 2002
  Send a message via MSN to flaco337 Send a message via Yahoo to flaco337  
Default MP3 Player Help - 03-07-2003, 03:18 AM

OK I made a script that plays MP3's in the game, you hit a buttonlike ] and it plays an MP3, or if one is playing, it plays the next one. If you hit [ it plays the previous song, and 0 stops the music. It will only play one song, then I have to hit the ] to start the next song, or [ for the previous song. Now, how could I get it where it would play all the songs in order without having to hit another button. Is there anyway to assign a cvar in the game, and the use the .scr filetype (including the proper syntax) to execute for, if and while statements that were dependant on the created cvar which would be 1 if the MP3 was playing and 0 if it wasn't (implying the song had finished)? My current problem, is that I have to wait until the song finishes to execute the next song or else things get screwed up. Or is there a way to create a cvar whose value is dependant upon the state of one of the audio channels? Any help would be appreciated.

Thank you,
Flaco
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.