is there anyway to add in an if/then/else to check daytime?
Like:
The best I find is:
But how to use it?
Like:
JASS:
if daytime = day then daifgadigh
else gfhdfghdgfh
endif
The best I find is:
JASS:
function GetTimeOfDay takes nothing returns real
return GetFloatGameState(GAME_STATE_TIME_OF_DAY)
endfunction
But how to use it?