Golem1988 Posted October 4, 2012 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 162 Reputation: 1 Joined: 08/08/12 Last Seen: December 10, 2023 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 4, 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 October 4, 2012 what mean on day night change ? Quote Link to comment Share on other sites More sharing options...
Brian Posted October 4, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 4, 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 October 4, 2012 http://rathena.org/board/topic/70442-question-regarding-to-isnight/#entry135576 Quote Link to comment Share on other sites More sharing options...
GmOcean Posted October 5, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 5, 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 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 Link to comment Share on other sites More sharing options...
GmOcean Posted October 5, 2012 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 666 Reputation: 93 Joined: 04/27/12 Last Seen: August 17, 2015 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 5, 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 October 5, 2012 owh...maybe i misinterpret the usage of this mapflag..xD because never try this mapflag...LOL... >.< Quote Link to comment Share on other sites More sharing options...
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 )
Link to comment
Share on other sites
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.