| 07-13-2004, 01:10 AM | #1 |
Alright - I am using the metamorphasis abiltiy and I have the hero auto casting this when it turns into night and the duration lasts until morning. However if it happens to be day time and I click the icon he, naturally, starts the ability. So is there a way I can check the time of day? Like Code:
Unit begins casting an event ability being cast equal to metamorhpasis If Time of day equal to (6 - 17.59) then do nothing. or something along those lines. |
| 07-13-2004, 01:12 AM | #2 |
Do what you're doing, and pause the unit, order it to stop, and unpause it. Alternatively, you can have "learn" a dummy spell that just serves as an icon, and when the appropriate time comes, you give the hero the metamorphosis ability, cast it, and then remove it. |
| 07-13-2004, 08:43 PM | #3 |
One thing i would recommend is to make a passive ability that has an icon that is similar to the metamorphisis and make a trigger that tracks the level of the metamorphisis and say that when its morning, remove meta and add the passive ability and when its night add the meta back at the traced level. Kinda confusing but i've dont something kinda like this before and i got it to work. |
