HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spell and sliding movement

01-01-2005, 12:00 PM#1
logik
you know how you make "sliding" spell...

i want to make a spell that works like that for a map that i am making. Now im am not noob at triggers and stuff, its just i dont know how to get that working, if someone can give me a hand or just tell me how to go about doing that it would be very appresiated.

If i get one example/bit of help etc. i can work from that and re-create it on the basis.

what i was trying to do, is use carrion sward which slides the caster to the point the caster clicked when he casted the spell.

anyways, thnx for reading
01-02-2005, 09:08 PM#2
HEZZA
What you need to, is set ur spell....

then in a trigger, im guessing, well i would do this:

Event - unit casts ability
{ i know u know that :P
Con - ur ability

Actions: unit - set speed of ur hero to 200% or something
unit - Move unit instantly to Target of ability beng cast + 20 from offset or something like that ...u get me?
wait 0.2 secs
unit - same again
wait 0.2 secs

u see where this is going, every 0.2 secs make him move + 50 yards towards where he casted the ability from the postion of him to the target.....Sorry i dont have editor open...hope that helped