Maps: Foot man wars -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 11 years ago

How do you make a town center spawn men like in this?

i cant make maps do this on my own?




Guest

I didn't make it!

0 XP

 
#2 11 years ago

i can think of two ways to do that

1) use a trigger that at map initialization, has the building statr to train a unit. then have another trigger that has the even "unit finishes training a unit" and then have it start training the unit again. this way will only do it one at a time though.

2) The other way would be to have triggers that on map initialization, wait a set amount of time, then create a unit at an area, then run that trigger again. and when the building researches to create more units, it just enables another trigger for that unit type.

like i said, i haven't tried yet, but i would put my money on option 2.

i'll edit this after i try it.

Edit: i have had a go at it, and i was right with 2. however, make sure you edit the unit so it takes up no food cap, or you are going to have a limit to the amount of units you can get. also, you can set the create unit trigger to make the unit at the location of the unit (town centre or wherever you want it). with creating more units, have a trigger detect when the town centre finishes researching and have a condition for each research you create and have it enable a trigger to spawn a different type of unit.




Guest

I didn't make it!

0 XP

 
#3 11 years ago

Events: Map Initialization

Actions: Every (x seconds) create (unit1) at (region x)




Eleandor

No User title

50 XP

27th July 2004

0 Uploads

548 Posts

0 Threads

#4 10 years ago

There is no such an action, Super Chiken.

It's quite easy. All you need to do is:

Events Every 20 seconds of game time Actions FOR integer A from 1 to 12 do: Create a footman at player [integer A] starting location