HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What function for a circular movement?

06-05-2004, 04:34 PM#1
7smurfs
Hi, I'm trying to make a spell that creates 36 units, 10 degrees apart for a circle around the hero. I have that part down, but what I need to know is how I can make these 36 units to all move into a circular path. I tried Polar Projection but that did'nt work, any suggestions?
06-05-2004, 11:22 PM#2
Lej
Quote:
Originally Posted by 7smurfs
Hi, I'm trying to make a spell that creates 36 units, 10 degrees apart for a circle around the hero. I have that part down, but what I need to know is how I can make these 36 units to all move into a circular path. I tried Polar Projection but that did'nt work, any suggestions?

I'm a bit confused here. Do you want to create 36 units in a circle around the hero or make these units walk in a circular path around the hero?
06-05-2004, 11:29 PM#3
7smurfs
Quote:
Originally Posted by Lej
I'm a bit confused here. Do you want to create 36 units in a circle around the hero or make these units walk in a circular path around the hero?
The later, make them walk in a circular path. The first I can do but I need them to "orbit" around the hero.
06-05-2004, 11:33 PM#4
Lej
I think I know how I could do that, give me a little while :>
06-05-2004, 11:37 PM#5
7smurfs
Ok, thanks. I've been trying all day to get this to work. It will probably end up being the same thing I did earlier, only using a variable instead of what the variable equals -.-;;
06-06-2004, 01:03 AM#6
Lej
My idea worked great, as long as the caster is standing still :( When he moves it get kinda messed up if i try to make it follow the caster. Aw well here it is anyways

I didn't write this thing in JASS because I wasn't sure it was gonna work and I wanted to easily be able to move actions around.
06-06-2004, 01:09 AM#7
7smurfs
Oh my gosh thank you thank you thank you!!!!! It's ok if its standing still because th spell is based off of BBV =D THanks again
06-06-2004, 01:12 AM#8
Lej
Quote:
Originally Posted by 7smurfs
Oh my gosh thank you thank you thank you!!!!! It's ok if its standing still because th spell is based off of BBV =D THanks again

No problem mate. This is the kinda stuff I enjoy doing. I don't really have patient enough to make an entire map. Wouldn't mind some reputation tho ^_^
06-06-2004, 01:14 AM#9
7smurfs
Done, yeah making an entire map is a pain =(