Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Question about music (https://forums.graalonline.com/forums/showthread.php?t=134262877)

Entrok 04-18-2011 10:38 PM

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

cbk1994 04-18-2011 10:59 PM

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()


Devil_Lord2 04-18-2011 11:47 PM

Quote:

Originally Posted by cbk1994 (Post 1644184)
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..


All times are GMT +2. The time now is 11:31 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.