HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to order unit to move around a point ?

08-29-2007, 06:35 AM#1
chien86
I mean that how to order 1 unit to RUN around a point
I use timer to move it around a point but it seem not RUN
So, how to do that ?
thanks
08-29-2007, 06:21 PM#2
Anopob
Set variables to points around the main point, use the action "Issue order targetting a point" from Unit-, remove leaks, and done.

EDIT: Wait are you doing this in GUI or JASS?
08-29-2007, 08:42 PM#3
Silvenon
Or, if using the timer movement, in each execution set the unit's facing to the angle it's next point is, that way it looks like it's running. Oh, and set it's animation to "walk" and increase the animation speed so it looks like it's running.
08-30-2007, 12:35 AM#4
chien86
oh thanks, I will try the animation speed
but how can I make this in Jass using timer without handle var ?
do u have any idea ?
08-30-2007, 01:05 AM#5
moyack
You can avoid the handle var by using global vars, but your code won't be MUI. If MUI is not important in this effect, then go ahead.
08-30-2007, 04:35 PM#6
Silvenon
You can use a combination of structs and Grim's Data_System which avoids using gamecache at all, but:

- you would need to have vJass implemented
- I have no idea where that Data_System is, or whether it's good. I've just heard about it
08-30-2007, 06:35 PM#7
Rising_Dusk
Parallel arrays work fine and don't require all that extra crap.
08-31-2007, 12:10 AM#8
Pyrogasm
Quote:
Originally Posted by Litany
I fear we have entered an age where people think they need a preprocessor and 10 different systems to issue a move order.
Lawls. I'm definitely quoting that too.
09-01-2007, 09:28 AM#9
Silvenon
Quote:
Originally Posted by Litany
I fear we have entered an age where people think they need a preprocessor and 10 different systems to issue a move order.

Haha!!! That's because that extra crap is so cool