Ninjamon Posted March 4, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.02 Content Count: 295 Reputation: 2 Joined: 03/06/12 Last Seen: November 4, 2014 Share Posted March 4, 2013 Is this possible? Can anyone add a tweak about this? Like you need 10 TCG In order to request a song. The song will play globally. http://www.eathena.ws/board/index.php?showtopic=172961 Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 4, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 4, 2013 Is this possible? Can anyone add a tweak about this? Like you need 10 TCG In order to request a song. The song will play globally. http://www.eathena.ws/board/index.php?showtopic=172961 itemmall,170,80,2 script Jukebox#nw 858,{ set .@item_req, 7227 ;// item ID set .@item_num, 10; // number required mes .@item_num +" "+ getitemname( .@item_req ) +" the sound"; if( countitem( .@item_req ) < .@item_num ) { mes "you don't have enough "+ getitemname( .@item_req ); close; } mes "select the sound"; switch( select("Into the Abyss","Assassin Cross of Sunset","Eternal Chaos","Ring of Nibelungen","Cancel") ) { case 1: soundeffectall "in_to_the_abyss.wav",0; break; case 2: soundeffectall "assassin_of_sunset.wav",0; break; case 3: soundeffectall "chaos_of_eternity.wav",0; break; case 4: soundeffectall "ring_of_nibelungen.wav",0; break; case 5: close; } delitem .@item_req, .@item_num; close; } This one should work on eA too Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 4, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 4, 2013 erm. may i ask, when user request a song , this song will be play for just the user who request ? or will be a main music for a town ? Quote Link to comment Share on other sites More sharing options...
Capuche Posted March 4, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted March 4, 2013 erm. may i ask, when user request a song , this song will be play for just the user who request ? or will be a main music for a town ? The song will be play for all players in the server. (Tantrums's request : The song will play globally) But the song can be play only on a map/an area if you want. Just replace all soundeffectall "<effect filename>",<type>; to soundeffectall "<effect filename>",<type>,{,"<map name>"}{,<x0>,<y0>,<x1>,<y1>}; Example soundeffectall "in_to_the_abyss.wav",0; to soundeffectall "in_to_the_abyss.wav",0,"prontera",150,150,160,160; to play the song in the area of prontera (x,y) (150,160) (160,160) ########## ########## ########## ########## ########## (150,150) (160,150) Quote Link to comment Share on other sites More sharing options...
Question
Ninjamon
Is this possible? Can anyone add a tweak about this? Like you need 10 TCG In order to request a song.
The song will play globally. http://www.eathena.ws/board/index.php?showtopic=172961
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.