DayZ
Eternal Day
Vanvaster 27. nov. 2018 kl. 10:51
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.
< >
Viser 1-1 af 1 kommentarer
♪Dj'Ctavia♫  [udvikler] 28. nov. 2018 kl. 5:01 
Yeah, it's already built for changing time slot; once you have create the variable:
Oprindeligt skrevet af DjCtavia:
m_EternalDay = new ref EternalDay();
Add after:
Oprindeligt skrevet af 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:
Oprindeligt skrevet af 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 !
Sidst redigeret af ♪Dj'Ctavia♫; 29. nov. 2018 kl. 11:22
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50