- Joined
- May 11, 2012
- Messages
- 2,103
How to?
You can use my Lightning system + my Lightning utils...
If you can't, well, you just need a periodic trigger that decreases the lightning's alpha value...
or use the one linked by master above, it's in GUI...
doing periodic from scratch might actually end up like you doing what defskull's GUI Lightning system already does...
also, it's better to just use them as they're already proven to be working good... +you just might suddenly realize that you actually needed the other capabilities of a certain system...
anyway, ultimately it's your call...
Instead of checking if unit is dead, check "is alive"
At this point you should try (Picked Unit) is dead equal to False)) or maybe try using And - conditions in the if-conditions.
Maybe you should add a stop trigger in the Else actions that stops the spell when Number of Units in Group == null/dead.
Hope this helps =)
I've had this problem before... try using Almia's debug log to find the problem or maybe try to remove the condition that's causing the problem and see if it still works.
Or maybe you should also try putting the (Picked Unit) is dead) condition in the main condition part of the trigger below the Event- Every 0.05 seconds...