Warcraft III resources & community, 2003–2006 · archived

Sucking vortex spell

6 posts
#1

Sucking vortex spell

How would I make a spell that slowly sucks units that come within 300 of the unit slowly get sucked in close to the caster?

I tried doing it and I could only push them away.

Thanks.
#2
LOL!!
You can make a push back effect, right?
Just use a negative value for pushing back so the unit will be pulled and stop while unit is in the center of.

Do you understand?

Tell me.

Hope I could help.

Thx.
#3
Yea I tried to do it as a negative value, but I don't know how to make it stop in the middle, how would I do that?
#4
First you define to local vars
x and y the x-coord and the y-coord of the spell target location, ok? Then, evertime you want to move the unit, you check if the unit is in range of maybe 20 of these coords, if yes, don't move the unit, else move it, ok?

Any more questions.

Are you able to write in jass??
That would help much
#5
I still don't know, it just pushes the opposite the way the unit with the ability is facing, am I supposed to use polar or point? Can you explain a little more please?
#6
And again: Are you jass user or gui user??

Tell me.
Thx.