- Joined
- Oct 11, 2012
- Messages
- 711
Question 1:
What does the number "50" mean in the following call?
Question 2:
If I set the number to "50", and I want to set a periodic timer that starts to run at the beginning of the day(for example, at 6 of game time) and to end at night (for example, at 18 of game time), how should I set the "timeout" of the timer?
Question 3:
Does the game speed effect the "timeout" setting as mentioned in Question 2?
Thanks a lot.
I do not want to check the time in game by using "GetTimeOfDay" every 5 sec. LOL
Edit: the reason I am asking these questions is that I want to make a hero whose stats double at night.
Edit: May I use something like this?
What does the number "50" mean in the following call?
JASS:
call SetTimeOfDayScaleBJ(50.)
Question 2:
If I set the number to "50", and I want to set a periodic timer that starts to run at the beginning of the day(for example, at 6 of game time) and to end at night (for example, at 18 of game time), how should I set the "timeout" of the timer?
JASS:
native TimerStart takes timer whichTimer, real timeout, boolean periodic, code handlerFunc returns nothing
Question 3:
Does the game speed effect the "timeout" setting as mentioned in Question 2?
Thanks a lot.
I do not want to check the time in game by using "GetTimeOfDay" every 5 sec. LOL
Edit: the reason I am asking these questions is that I want to make a hero whose stats double at night.
Edit: May I use something like this?
JASS:
call TriggerRegisterGameStateEvent(gg_trg_Skiptime, GAME_STATE_TIME_OF_DAY, EQUAL, 6.00)