| 04-18-2004, 10:04 PM | #1 |
Basically, I have a spell based off chain lightning - it's supposed to be the hero turning into a lightning bolt and rapidly striking random units along its path, what I want to do is to have the hero appear at each unit struck by the chain - and I have not got a blind clue how it could be done. Not even an ickle one - any ideas? |
| 04-18-2004, 11:16 PM | #2 |
You could trigger it so that at the relevant points he's suddenly "offset" -- I've seen it done with various Trample/Charge abilities (modified Shockwave) and with Omnislash ... |
| 04-19-2004, 07:43 AM | #3 |
I thought I could do that, it's just a matter of telling the game where she should be offest to, if you know what I mean. Since chain lightning is a randomly bouncing skill, I can't exactly predict where it will be, since every situation is different. what I'd love is a trigger "unit takes damage <from a spell>" just a shame it doesn't exist. Thanks a lot for confirming method of movement, now I just need co-ordinates or something. Anyone? |
| 04-19-2004, 02:57 PM | #4 |
You could make the complete chain lightning triggered, but that isn't very easy. Therefor you must have some experience with triggers. Basicly, you make a custom (dummy) caster and a custom chain lightning that doesn't bounce. Let the hero target one unit with another dummy spell and create a caster at his position, then pick a new random target, maby storing it in a variable, and create a caster at the previously targeted unit and do this as many times you want. |
| 04-20-2004, 05:56 AM | #5 |
I was somewhat fearing that was the case. Arse, if everyone will pardon my irritated english, well I could probably figure it out, something like create caster here, , move dechala to point of last spawned unit, play attack animation, order it to cast the spell, kill caster, pick random unit within X, repeat would probably work, and I could just make a few different spells based of chain lightning for the dummy units to simplify things. Now that I think about it, it doesn't seem too horrendous, I just didn't particularly want to have to do some relatively complex triggering, what with my triggers being effective, but probably clumsy, sinve I learned on starcraft ages ago and just mess around with em. Ah well, thanks a lot everybody. Though if anyone comes up with another idea, I'm always open to them (especially if it involves less triggers :p) |
| 04-20-2004, 01:56 PM | #6 |
I'm sorry it doesn't use less triggers, but the way I see it, there isn't a way to check who and when a unit will be hit by chain lightnig. |
| 04-20-2004, 07:44 PM | #7 |
Don't apologise, thanks for the help, confirmation and keeping me from wasting time searching for another way, I'm gonna make it like that, should be an interesting touch to my map. |
