HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Queue Orders Via trigger?

09-01-2005, 10:19 PM#1
Kalvorod
I want a unit to move to a specific point, but through the use of several different "Issue command to unit targetting a point" things. The ending is stored and the begging is stored. Is there any way I can queue the orders with out making "checkpoints" that will in turn tell it to move again? I don't want the unit to move directly there for reasons of I only want it moving at 90 or 180 degree angles.


EDIT: I set the thing to wait durring the loop for 512(how far he moves)/ unit speed. That comes pretty close, so I figure it's good.

But now I'm being driven crazy because this thing just doesn't want to work. I'll try something more, and probobly post the script later for someone else to try.

I want the unit to move along the path determined by a loop, and then it records which direction to go. Unfortunatly, the variable seems always to store the wrong variable, and the unit always more not only the wrong direction, but also a direction completely different from the variable! >_<

EDIT2: Number are now correct... but unit still moves wrong way...

EDIT3: Still wrong... I'd delete this thread if I knew how, and post when I give up. My bad.

EDIT4: After reworking the whole thing, both creating the grid, and moving the unit, it now works flawlessly. I still don't know how to delete this topic...