Jump to content
  • 0

How to set single map night and day


shefer

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.01
  • Content Count:  10
  • Reputation:   0
  • Joined:  09/20/22
  • Last Seen:  

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

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  147
  • Reputation:   10
  • Joined:  12/03/18
  • Last Seen:  

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 

Link to comment
Share on other sites

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.

×
×
  • Create New...