Jump to content
  • 0

Is it able to set mapflag on day/night change?


Question

7 answers to this question

Recommended Posts

Posted

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.

Posted

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.

Posted (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 by GmOcean

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...