• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

night Hero

Status
Not open for further replies.
Level 3
Joined
Sep 5, 2004
Messages
32
I am current ly making a hero which has very good kills at night and the same skills in the day. However he cannot cast his spells in the day and he has a spell that turns night to day.That spell that tuns night to day has a cooldown btw. How do i make i do that? Requesting for someone to help. Thanks.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Hehe... Not hard. Just do the following trigger:

Event - An unit begins casting an ability.
Conditions - Real - Time of Day Greater than or equal to 6
- Real - Time of Day Lower than 18
Actions - Order casting unit to stop.

Heh, you can also check the skills and drain mana depending on it without applying the cooldown. Hehe, I also don't remember very clear the Real stuff but I think that's the condition. Good luck!
 
Status
Not open for further replies.
Top