• 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.

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