SetTimeOfDayScale(real)
call SetTimeOfDayScale(0.50)
Those first 3 are not editable during the game, but the fourth one is.
if you have the 4th option (from above) set to, for example 500, and you do:JASS:SetTimeOfDayScale(real)
then a day will take 1000 real time secondsJASS:call SetTimeOfDayScale(0.50)
i believe Yixx is right, if the real seconds per game day is set to 500 and the timeofday scale is set to 0.50 , it will result in each day in-game = 1000 real-time seconds.Isn't 0.50 = 50? I think it should be 5.00.
call SetTimeOfDayScale(.50)
ehm.... from what I remember, we can't set how many hours spent in-game for a night and a day....... in a 24 hour time frame, i want the Night to be 18 hours and day time to be 6 hours
post your trigger please1) when i convert a empty trigger to custom text and use your text ( copy/ paste) at save, it says it has errors and disables it !
how would the JASS look like ?
Just use custom gameplay constants like the first guy said, and set the time that Dusk starts 6 hours after dawn starts (in this case you can just put Dusk at 12). What the other guys are saying is you can change how fast in game time goes by while the game is going on.
something like this?
Day Duration
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(In-game time of day) Greater than or equal to 6.00
(In-game time of day) Less than 18.00
Then - Actions
-------- if it is day --------
Game - Set time of day speed to 200.00% of the default speed
Else - Actions
-------- if it is night --------
Game - Set time of day speed to 50.00% of the default speed
In that case, all you have to do is delete the second day/night-trigger and set the DayNightDur[X] to the correct values... I thought you understood that xD my badthough nice, i would like for the shift in speed ( faster day/ slower night etc) to ocur as naturally as the regular time speed, WITHOUT any interference from the player