DayZ
Eternal Day
Vanvaster 2018 年 11 月 27 日 上午 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.
< >
正在显示第 1 - 1 条,共 1 条留言
♪Dj'Ctavia♫  [开发者] 2018 年 11 月 28 日 上午 5:01 
Yeah, it's already built for changing time slot; once you have create the variable:
引用自 DjCtavia
m_EternalDay = new ref EternalDay();
Add after:
引用自 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:
引用自 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 !
最后由 ♪Dj'Ctavia♫ 编辑于; 2018 年 11 月 29 日 上午 11:22
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50