Julian4life
New Member
- Reaction score
- 7
Hey there TH.net!
First off, heres the settings, or whatever you want to call it:
The Spawn Region Arrays
The Trigger using the arrays
With this, im trying to cause those 16 spawn points to spawn ghouls. And, so far, so good. Each of the 16 spawn points spawn a ghoul. Which brings us to my small dilema. I want the regions to continuously spawn ghouls (a total of 15 times to be exact) every 2 seconds from each region. I wasnt sure how to pull it off, and i messed with everything, but it didnt exactly work out. (i was plainly going to just copy-paste the ghouls and timing, but since there are about 30 different creeps, and 15 waves of each... that would make a longgggg trigger. :banghead:
Does anyone know a solution to this? How to have it so it spawns 15 times, every 2 seconds, then stops, and moves on to my next trigger? Or how to make it continue to loop throught only those 16 integers.
First off, heres the settings, or whatever you want to call it:
The Spawn Region Arrays
Low Spawn Arrays
Events
Map initialization
Conditions
Actions
Set LowSpawns[1] = (Center of LowCreepSpawn1 <gen>)
Set LowSpawns[2] = (Center of LowCreepSpawn2 <gen>)
Set LowSpawns[3] = (Center of LowCreepSpawn3 <gen>)
Set LowSpawns[4] = (Center of LowCreepSpawn4 <gen>)
Set LowSpawns[5] = (Center of LowCreepSpawn5 <gen>)
Set LowSpawns[6] = (Center of LowCreepSpawn6 <gen>)
Set LowSpawns[7] = (Center of LowCreepSpawn7 <gen>)
Set LowSpawns[8] = (Center of LowCreepSpawn8 <gen>)
Set LowSpawns[9] = (Center of LowCreepSpawn9 <gen>)
Set LowSpawns[10] = (Center of LowCreepSpawn10 <gen>)
Set LowSpawns[11] = (Center of LowCreepSpawn11 <gen>)
Set LowSpawns[12] = (Center of LowCreepSpawn12 <gen>)
Set LowSpawns[13] = (Center of LowCreepSpawn13 <gen>)
Set LowSpawns[14] = (Center of LowCreepSpawn14 <gen>)
Set LowSpawns[15] = (Center of LowCreepSpawn15 <gen>)
Set LowSpawns[16] = (Center of LowCreepSpawn16 <gen>)
... so on, continuing with different spawning regions.
The Trigger using the arrays
Low Spawn
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
For each (Integer B) from 1 to 16, do (Actions)
Loop - Actions
Unit - Create 1 Ghoul for Player 12 (Brown) at LowSpawns[(Integer A)] facing Default building facing degrees
With this, im trying to cause those 16 spawn points to spawn ghouls. And, so far, so good. Each of the 16 spawn points spawn a ghoul. Which brings us to my small dilema. I want the regions to continuously spawn ghouls (a total of 15 times to be exact) every 2 seconds from each region. I wasnt sure how to pull it off, and i messed with everything, but it didnt exactly work out. (i was plainly going to just copy-paste the ghouls and timing, but since there are about 30 different creeps, and 15 waves of each... that would make a longgggg trigger. :banghead:
Does anyone know a solution to this? How to have it so it spawns 15 times, every 2 seconds, then stops, and moves on to my next trigger? Or how to make it continue to loop throught only those 16 integers.