HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need the a good Spawn -> Move System!

11-10-2005, 03:58 PM#1
Soultaker
Hi all!

I have tried a bit on my own, but I can't make a really good spawn system which makes the units go the right way without too many memory leaks and things like that.

The map is with 4 Island, one in each corner around the middle, there from it should go through a serie of paths to either the Western middle or the eastern middle, depending on who is controlling the spawn center.

If you could help me get the general idea, that would be great :)

-Soultaker
11-10-2005, 07:25 PM#2
Ice_Keese
A base trigger would look like this:
Code:
Events
-- Whatever you want --
Conditions
Actions
Unit - Create 1 Unit for Player 1 (Red) at (Center of (The Region)) facing 0.00
Unit - Order (Last created unit) to Move to (Center of (The Region))

Don't forget to put pathing blockers to force units to follow the right way.
Hope it helps .
11-11-2005, 01:39 PM#3
Soultaker
Heh, I guessed that :P

But when it comes to Move Rect 1, it should go on to Rect 2, and so on for the four islands.

This would be quite simple if they didn't cross over sometimes, else I could just use this:

Code:
Event - Unit enters rect

Unit not a Hero

Order unit to move to Next Point

But thanks for you help anyways :)

-Soultaker