Staredit Network

Staredit Network -> UMS Assistance -> How to make units spawn in a D
Report, edit, etc...Posted by sprite101 on 2006-08-27 at 19:05:57
I am currently working on a Defense and im new with this so hear it is how do you make it so they spawn like every other defense???
Report, edit, etc...Posted by IsaT on 2006-08-27 at 19:14:07
First, create a location where you want the units to spawn, then make a new trigger with whatever conditions you want, such as elapsed time, switches, or anything else.

Then for the actions use the trigger 'Create Unit'. Fill out all the boxes with the unit you want created, amount of units created, and the location you just made.
Report, edit, etc...Posted by DevliN on 2006-08-27 at 19:16:40
Well you can use switches or a timer or some other system you like.

With switches, basically make a trigger that sets Switch 1 when you want the units to start spawning. Then in another trigger, make the condition "Switch 1 is set" and the action should be "Clear Switch 1," "Create X Units at LOCATION for Player 8 (usually people use Player 8 to be the enemy computer)," and "Set Switch 2."

Then in your next trigger, have the condition be "Player 8 brings exactly 0 men to LOCATION THAT COVERS THE ENTIRE DEFENSE AREA" and "Switch 2 is set." The action should be "Clear Switch 2," "Create X Units at LOCATION for Player 8 (again, people use Player 8 to be the enemy computer)," and "Set Switch 3." And repeat.

With a timer, you can have units spawn every minute or something.
Report, edit, etc...Posted by Killer_Kow(MM) on 2006-08-27 at 19:16:59
It seems that you are very new at this, seeing as you can't create units using triggers, so I would suggest reading the help file that comes with StarEdit, along with other tutorials and such, such as the ones in our tutorial database.
Report, edit, etc...Posted by DevliN on 2006-08-27 at 19:20:59
QUOTE(Killer_Kow(MM) @ Aug 27 2006, 04:16 PM)
It seems that you are very new at this, seeing as you can't create units using triggers, so I would suggest reading the help file that comes with StarEdit, along with other tutorials and such, such as the ones in our tutorial database.
[right][snapback]552112[/snapback][/right]

Actually yeah, why didn't I think of that?

Just take a look at the help section, and the tutorial section here at SEN will be a big help. Here's a link: http://www.staredit.net/index.php?act=tutorials
Report, edit, etc...Posted by fritfrat(U) on 2006-08-27 at 21:05:32
Another possibility is finding unprotected defense games out there and looking at how they did it; learn from example kind of stuff. The ones most likely to be unprotected are the ones there are a million versions for wink.gif
Report, edit, etc...Posted by Zell.Dincht on 2006-08-27 at 21:08:29
You basically need, a location then you create the units. Look under the tutorials, they have a lot of useful things in there. Just look for Create Units. In my Trap D I used gas to make sure wat level your in. If you want I can show u it.
Report, edit, etc...Posted by DevliN on 2006-08-27 at 21:09:50
In response to fritfrat, I don't suggest looking at Spawn Defense. If you're a new map maker, the idea of "income" is going to make your face explode. Take a look at like something simple like "Tarpit D." Or if you want to see something simple and crappy, check out my Race Defense map. Its unprotected and has a really basic spawn system.
Next Page (1)