Jump to content
  • 0

How to set single map night and day


Question

Posted

Hello, everybody.

I tried

setmapflag "prontera", mf_nightenabled;

It was tested, but it didn't work.

Also, I plan to use it on my own custom maps, including instance.

Only the specified map turns into night, and I don't know how to do that.

it didn't work

1 answer to this question

Recommended Posts

  • 0
Posted
On 11/26/2022 at 10:13 PM, shefer said:

Hello, everybody.

I tried

setmapflag "prontera", mf_nightenabled;

It was tested, but it didn't work.

Also, I plan to use it on my own custom maps, including instance.

Only the specified map turns into night, and I don't know how to do that.

it didn't work

you can just do a 
prontera mapflag nightenabled

or use this

 

-	script	DayNight	-1,{
OnClock0600:
	day;
	end;
OnInit:
	// setting correct mode upon server start-up
	if (gettime(DT_HOUR)>=6 && gettime(DT_HOUR)<23) end;
OnClock0000:
	night;
	end;
}

+ rep if helps 

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...