WarToast
Active Member
- Reaction score
- 3
Hello, I've been searching around a lot on this subject, but couldn't find anything that relates directly to my problem.
As in the map Tech Wars Tournament (by oxYgen and Blu3), I'd like to be able to build buildings and make them spawn units. In TWT units are spawned as if there is a summon spell on auto-cast, but after reading around a bit, I've found that it is not possible.
So I need to make a trigger. I can't make the basic periodic spawner because I don't have a specific building already on the map - I need a constructed building to start periodically spawning units.
By the way, I have tried using this:
but that spawns units from the building as soon as I start constructing it, also I'd like buildings to have "individual" spawn times, and with a periodic event, units will be created at the same time, no matter when you build the building.
So to wrap this mess up: I need constructed buildings to spawn units, independant on some periodic event, maybe with an ability, auto-cast with triggers?
Thanks in advance guys :thup:
As in the map Tech Wars Tournament (by oxYgen and Blu3), I'd like to be able to build buildings and make them spawn units. In TWT units are spawned as if there is a summon spell on auto-cast, but after reading around a bit, I've found that it is not possible.
So I need to make a trigger. I can't make the basic periodic spawner because I don't have a specific building already on the map - I need a constructed building to start periodically spawning units.
By the way, I have tried using this:
Code:
Events
Time - Every 10.00 seconds of game time
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Barracks)) and do (Unit - Create 1 Footman for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees)
but that spawns units from the building as soon as I start constructing it, also I'd like buildings to have "individual" spawn times, and with a periodic event, units will be created at the same time, no matter when you build the building.
So to wrap this mess up: I need constructed buildings to spawn units, independant on some periodic event, maybe with an ability, auto-cast with triggers?
Thanks in advance guys :thup: