Warcraft III resources & community, 2003–2006 · archived

may be off topic but could use some help

5 posts
#1

may be off topic but could use some help

Im trying to make a footy mape but i have no clue what the code is to make the barracks spawn units. Like every
## seconds can some one help me with the come

thank you
#2
I think you should search the hosted maps for footies and download a unprotected one.
Then you open it in we and look how the triggers work.
Thats the best way to learn it ;)

btw... you need periodic time event

and unit - create unit action
#3
Event: Every X seconds of the game
Conditions: --------
Actions: Unit - create 1 '.......' at 'Rect' facing ....

place the 'Rect' at the barracks, since it cannot place units On the barracks it will place em next to it, like u c in footie maps
#4
I would start a repeating timer then add a spawn trigger to that
#5
My oh my... Footman wars uses Start location as there region it would go something like this:
Event > Player 1-12 (do it for each player) finished constructing a building.
Condition > Unit type = townhall townhall = NEBase (Im prety sure this parts right)
Action > Variable - Set Variable Units = 1 for triggering player
New Action > create Units UnitType at owner of triggering players start location
Different trigger -
Event > Player 1-12 (do it for each player) finished constructing a building.
Condition > Unit type = townhall townhall = NEBase (Im prety sure this parts right aswell)
Action > Variable - Set Variable UnitType = Archer for triggering player

(Units Variable = Interger Array)
(UnitType Variable = Unit Type)

(If this isn't right and you still need help just PM and I'll find out the correct one for you.