eJay Posted August 28, 2012 Group: Members Topic Count: 80 Topics Per Day: 0.02 Content Count: 325 Reputation: 76 Joined: 03/22/12 Last Seen: August 5, 2019 Share Posted August 28, 2012 How to make script when players log in,, auto play bgm and max sound. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 28, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 28, 2012 OnPCLoginEvent: playBGM "<BGM filename>"; end; but i dont think there is a way for you to set BGM volume through script command... Quote Link to comment Share on other sites More sharing options...
eJay Posted August 29, 2012 Group: Members Topic Count: 80 Topics Per Day: 0.02 Content Count: 325 Reputation: 76 Joined: 03/22/12 Last Seen: August 5, 2019 Author Share Posted August 29, 2012 hehe. but thanks emistry. can i ask some question this is possible to make script for slash command ? for example the "@" command is OnPCLoginEvent:atcommand "@where "+strcharinfo(0); end; then how about slash "/" cuz i want to use for "/bgm on" to all player when log in Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 29, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 29, 2012 nope...that cant be done using script..... Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted September 2, 2012 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: April 15 Share Posted September 2, 2012 (edited) Why not just modify the file OptionInfo.LUA? You don't need another script to just add that much more strain on your server. Just modify that file and patch. Everybody will have those features set from then on. Quote: How to make script when players log in,, auto play bgm and max sound. Peopleperson49 Edited September 2, 2012 by peopleperson49 1 Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 2, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 2, 2012 that setting can be overwrite by users after they login into ingame.... Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted September 2, 2012 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: April 15 Share Posted September 2, 2012 (edited) Yes that true, but if they choose to overwright the setting then they probably don't want bgm and max volume anyway. It just seemed like a better solution then to make another script that runs at login, over time they add up and start to bog down login speeds. Peopleperson49 Edited September 2, 2012 by peopleperson49 1 Quote Link to comment Share on other sites More sharing options...
Question
eJay
How to make script when players log in,, auto play bgm and max sound.
Link to comment
Share on other sites
6 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.