Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-18-2011, 11:38 PM
Entrok Entrok is offline
Registered User
Join Date: Sep 2009
Location: Sweden
Posts: 51
Entrok is on a distinguished road
Send a message via MSN to Entrok
Question about music

Hello,

I was thinking in making a system that would play around 5 different music files after each other.

But what i want to know if its possible to somehow make a system that can check when one of the songs has ended and will start next one.

Is it possible?

Thanks
Reply With Quote
  #2  
Old 04-18-2011, 11:59 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Yes, use these:

Quote:
Originally Posted by /scripthelp music
Script help for 'music':
Clientside:
getmusicfilename() - returns string - returns the currently played music
getmusicstatus() - returns string
getmusictags() - returns object
ismusicplaying() - returns boolean
musiclen - integer (read only)
musicpos - integer (read only)
stopmusic()
__________________
Reply With Quote
  #3  
Old 04-19-2011, 12:47 AM
Devil_Lord2 Devil_Lord2 is offline
David K?
Devil_Lord2's Avatar
Join Date: Apr 2011
Location: PA, MD.
Posts: 643
Devil_Lord2 can only hope to improve
Quote:
Originally Posted by cbk1994 View Post
Yes, use these:
I'm going to follow this page and when I can, in 24 hours, I will give you positive rep; I think this will be extremely helpful in development servers.
^.^;
When I seen this I started thinking about a system I made in little BIG Planet.. obviously it wouldn't be the same.. lol I mean with what you said, you could grab the box / npc and have it change but that doesn't play after its done..
__________________

Digital Media Artist - David K? </3 (UnLoved)
www.davidkrout.com
www.twitch.com/DavidKkz



Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


All times are GMT +2. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.