Golem1988 Posted October 4, 2012 Posted October 4, 2012 So, basicly asking if it's able? And If it is able to set mapflag on day/night change, requesting for sample script Thanks ) Quote
Brian Posted October 4, 2012 Posted October 4, 2012 So, basicly asking if it's able? And If it is able to set mapflag on day/night change, requesting for sample script Thanks ) No, there is no label like "OnDay" or "OnNight". Instead, you could: 1. control your server's day/night cycle with a script (instead of the battle configs) Then in your script you could have it do 'day' then 'setmapflag'. or 2. keep using the battle configs for day/night, and add a script that checks every minute (or every hour?) and if it's day, then setmapflag. Quote
Emistry Posted October 4, 2012 Posted October 4, 2012 http://rathena.org/board/topic/70442-question-regarding-to-isnight/#entry135576 Quote
GmOcean Posted October 5, 2012 Posted October 5, 2012 Well, there was a src edit on eAthena, that i requested a while back, that created custom npc commands, to set map as day/night at given will, and it wouldn't affect the other maps either. Kinda like they ran on their own clock. I'd re-make it for rAthena, if i still had the code, but sadly i lost it, and it's no longer available on eAthena, since the link went dead. Quote
Emistry Posted October 5, 2012 Posted October 5, 2012 (edited) @GMOcean i think this may work just like how you mention it. Mapflag#nightenabled Edited October 5, 2012 by Emistry Wrong..>.< Quote
GmOcean Posted October 5, 2012 Posted October 5, 2012 (edited) No that means what ever map has that mapflag, "can" display nightmode effects, when @day/@night is used. If a map doesnt' have that mapflag, the visual effects wont happen on that map. I was searching for a way, to change a single map to night/day mode, at free will. Example: turn prontera nighttime, even though everywhere else its day. Edited October 5, 2012 by GmOcean Quote
Emistry Posted October 5, 2012 Posted October 5, 2012 owh...maybe i misinterpret the usage of this mapflag..xD because never try this mapflag...LOL... >.< Quote
Question
Golem1988
So, basicly asking if it's able?
And If it is able to set mapflag on day/night change, requesting for sample script
Thanks )
7 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.