HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Suck nearby units??

07-03-2005, 02:30 AM#1
kenyi251
I'm making a spell that sucks nearby units, is it possible to done without JASS?? If it is possible, please tell me how it works.
07-03-2005, 03:16 AM#2
PlasticAngel
Either your map is not for kiddies or you might wanna explain more in detail...
07-03-2005, 03:51 AM#3
Guest
Quote:
Originally Posted by PlasticAngel
Either your map is not for kiddies or you might wanna explain more in detail...
lol! That's funny ; )
I guess sorta like magnet or vacuum thing..
07-03-2005, 04:03 AM#4
kenyi251
LOL.. sorry, it is kind of vacuum stuff like hunter_destruction said.
07-03-2005, 04:07 AM#5
Guest
..wee i dont got WE open
Code:
Event -Unit starts effect of ability
Conditions - ability cast equal to <ability>
Actions - Pick every unit in XXXX range of casting unit and do action: move picked unit instantly to position of casting unit

There ya go...
07-03-2005, 04:10 AM#6
kenyi251
hmm.. I mean "suck" slowly (LOL), not instantly. Something like every 0.1 seconds of the game.
07-03-2005, 04:14 AM#7
Guest
Code:
move unit to position of casting unit with offset XX XX
wait XX
move unit to position of casting unit with offset XX XX
wait XX
ect...
07-03-2005, 04:22 AM#8
kenyi251
I think using the slide action would be better, but i can't figure what should i put for the degree.
07-03-2005, 06:47 AM#9
Guest
I believe there's a Jass function for it:
Code:
function AngleBetweenPoints takes location locA, location locB returns real
but i'm not sure if it's available in the gui.
07-03-2005, 03:48 PM#10
Tim.
Well..
Code:
Unit - Move Unit instantly to ((Position of Unit) offset by 20.00 towards (Angle from (Position of (Casting unit)) to (Position of Unit)) degrees)

Or somthing to that extent. I personally dont use WEU so I dont know what it would be exactly for the Slide action.