View Full Version : got a spell question
a_p3rf3ct_circl3
07-28-2005, 4:12 PM
How do i make a ability only work at nighttime? cuz i got an skill that makes the hero permanantly invisible, but i want it to be only at night. and another that activates Vampirirc aura, but i want it only at night
how do i do this?:confused:
edwinfong25
08-01-2005, 12:02 PM
well it depends on the spell:concern:, but I think that it is under data of the spell. Try looking at the difference between a normal spell and a night-only spell. Hope that helps.:D
XZminX
08-04-2005, 5:37 PM
That is easy:
make triggers like this
Trigger 1
events:
Game - the in-game Time of day becomes 18:00 (dusk)
conditions
none
actions
unit - add ability (give vampiric aura and invisibility to your hero)
Trigger 2
same...you just remove the abilities at the dawn
if this is not what you wanted, tell me what you want and how you want it and i can help you modify the code if you cant handle it yourself
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.