Warcraft III resources & community, 2003–2006 · archived

Checking Time of day

5 posts
#1

Checking Time of day

I know it sounds noobish but it simply doesn't work. I am trying to make a trigger which activates only during the night and:

Event: Game - The in-game time of day becomes Greater Than 18.00
Condition: (In-game time of day) less than 6.00

Still, it doesn't seem to work and I can't understand why... Is there another way?
#2
Man use many triggers!This is alowed!
#3
Your trigger is just fine, i tested out some time checking things alnong with yours and got nothing wrong, the only thing i could see wrong is the actions that come with the time of day.
#4
Oh and another thing. I have pretty messy triggers regarding Auras. Do you think you could help me get the owner of a buff coming from an aura? It would be fine if the spell would work only for 1 unit/player but... I simply can't find a way to do this. An example would be... Dread Aura (just an example... not what I do but still, good example for exaplanations). Every unit afected by this aura gives the caster 1/2/3 hit points per second. BY giving, i mean that it's like a drain. The target loses 1/2/3 life points while the caster of the aura gains these points. Do you know how I could do it?
#5
Count units in unit group matching matching unit is within (range) and has buff (Dread Aura). You can either do this relative to the level of the aura of the casting unit or create three separate triggers.

~The_Raven