• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Time of Day Variable-Type

Status
Not open for further replies.
Time of day ranges from 0.00 to 24.00. (24.00 = 0.00 game time)

Time of day turns to "morning" at 6.00, "noon" at 12.00, and night at "18.00".

For example:
  • Game - The in-game time of day becomes Equal to 7.00
It takes a real value. This trigger will fire at 7:00 A.M. (game-time) :) If it still doesn't work, then post your code and there is probably something else happening.
 
Time of day ranges from 0.00 to 24.00. (24.00 = 0.00 game time)

Time of day turns to "morning" at 6.00, "noon" at 12.00, and night at "18.00".

For example:
  • Game - The in-game time of day becomes Equal to 7.00
It takes a real value. This trigger will fire at 7:00 A.M. (game-time) :) If it still doesn't work, then post your code and there is probably something else happening.

What I'm trying to do is change the time to a variable. So:
  • Game - The in-game time of day becomes Equal to [Time_of_Day]
However, the variables accepted do not include reals nor integers.
I require this because I have a trigger that runs at a random pre-set time of day, and creating a trigger for each pre-set time would not be effective.
 
Status
Not open for further replies.
Back
Top