| 04-17-2008, 02:57 AM | #1 |
Um where to start...ok I had an idea for a skill first i made a custom hero based off a paladin then i wanted a skill where it would work like chain lightning bouncing to one enemy unit to another,that would have been easy for me, but what i would like is to at the same time have the hero like teleport to the targets and hit them I guess what i mean is instead of the lightning connecting i want the hero to connect to all the enemies I know it requires a trigger but i dont know where to start and what to do from there I would really like to know so i can get a hang of this and improve myself Thank You |
| 04-17-2008, 05:45 AM | #2 |
Well, this is going to be kind of complicated. You should probably start by downloading either a spell template with a chain spell, or a chain spell someone else made. Go into the spell (or template), and where the unit would be damaged, move the hero there (using SetUnitX/Y), and play their attack animation, then repeat. That's the best way I can think of doing it, unless you want to code your very own chain spell. Oh, and it had better be a slow interval between each chain, because attack animations won't complete by the time you move to the next unit (you'll get a half-swing or something close) |
| 04-17-2008, 10:09 AM | #3 |
I believe this is just like an omnislash ? - ThonGod |
| 04-17-2008, 11:25 AM | #4 | |
Quote:
|
| 04-17-2008, 01:16 PM | #5 |
Start by making the spell chose which units are going to be in the chain. You can do this with a dummy chain lightning, or using random unit from unit group actions, ie; "chose 1 random unit from (units within 200 of (picked unit)) Matching ((unit is in group (AlreadyInChain))Equal to False)" etc. I like the coded way better then the dummy ability =P Then add in the teleporting unit, and any other special effects, such as blinking special effects. Then add the actual damage and spell effects. Or you can do it all at once, but that may be a bit much! |
| 04-17-2008, 01:34 PM | #6 | |
Quote:
|
