DayZ
Eternal Day
Vanvaster 27 Nov, 2018 @ 10:51am
Select time range.
Hi, thanks for developing the mod, it has an interesting and useful proposal now with the long and dark night of Dayz.
I wonder if with the update of 11/19/2018 it is already possible for the server owner to choose the start and end times of the day?
I tried it before and it did not work.
< >
Showing 1-1 of 1 comments
♪Dj'Ctavia♫  [developer] 28 Nov, 2018 @ 5:01am 
Yeah, it's already built for changing time slot; once you have create the variable:
Originally posted by DjCtavia:
m_EternalDay = new ref EternalDay();
Add after:
Originally posted by DjCtavia:
m_EternalDay.setDayTime(float startDay, float endDay);" the range need to be 0.00 and 23.99
You can do an easy conversion with:
Originally posted by DjCtavia:
ConvertTime startDay = new ConvertTime(0);
ConvertTime endDay = new ConvertTime(0);

startDay.setFromDayFormat( hours, minutes );
endDay.setFromDayFormat( hours, minutes );
m_EternalDay.setDayTime( startDay.getTime(), endDay.getTime() )

Hope that will help you !
Last edited by ♪Dj'Ctavia♫; 29 Nov, 2018 @ 11:22am
< >
Showing 1-1 of 1 comments
Per page: 1530 50