HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Moving dummy units with triggers...

07-21-2006, 01:42 AM#1
Ignitedstar
I'm having trouble with moving dummy units. How would I make it so that two dummy units will appear side-by-side(a 3 unit line) to the caster, but also moving them a certain distance while still staying aligned? I've tried various ways, but it never turned out correctly.
07-21-2006, 01:49 AM#2
Fin.
Well to make them appear beside caster use position of caster with polar offset of 90 and 270, and then do you mean for them to stay aligned while the caster walks? If you wanna do that make a period event of moving them to the position of caster with the same polar offsets, if you want to move them all you can do what i just previous said and move the caster also if moving all 3 together is not working.
07-21-2006, 04:00 AM#3
Ignitedstar
Well, not when they walk. What I mean is for them to just be there for a split second and then cast a spell(shockwave). But, I want to be moved a certain distance from the caster, while still being in a line.

Like, the dummy units will be 90 and 270 degrees with polar offset, like you said. But, after they've moved to those positions, I want to move them again, being- let's say 300 units away from the caster of where they are. How would I do that?
07-21-2006, 04:32 AM#4
Fin.
I would try it like this
Unit - Move (dummyunit) instantly to ((Position of (dummyunit)) offset by 300 towards (Facing of (casting unit)) degrees)

Or you could use whatever degree you want, but if you want to move it 300 away from where caster is facing I think that should work