HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Aos map triggers

05-28-2004, 07:28 PM#1
cowboybill
well im working on an aos type map. im sure most of u are familiar with those types of maps , like dota, tob. anyway. i think everyone can notice that the buildings produce units themselves and the computer automatically sends the units in a certain path. i was wondering how is it that u trigger this so that a building makes units and sends them to a certain point. and also , how can i control the number of units it spawns. and one more thing. how do can i make just random units pop out like in dota when a hydra just spawns out of nowwhere, anyway ty for taking the time to help and ty in advance ^_^
05-28-2004, 08:38 PM#2
johnfn
To answer one of your questions:

to make a building make a unit, use the following trigger:

Unit - Order (Last created unit) to train/upgrade to a Footman

And to order it along a certain path just make it so that when the footman comes out you give it an order to go... wherever it's supposed to go. Probably want to make it attack-move, since you want it to attack things in its path. To make things pop out of "nowhere", just do something like this:

Unit - create 1 (some unit) at random point in (a region where you want the units to appear) facing default unit facing degrees

Anyway, if you need help with this, just ask.
05-28-2004, 09:19 PM#3
Anitarf
Another way to do this stuff is just to create units with unit-create unit action, and have the buildings there just for show. You can see some simple AoS pathing triggers in my map (link in signature); just look under red/blue spawning... Of course, it may not be the best system out there, but it worked for me.