Julian4life
New Member
- Reaction score
- 7
Hey guys!
I've been working on some spawns on my latest map, and because there is a massive amount of spawn points, (31 points to be exact, and 14 of these points will be for 10 separate players)... So I wanted to know if i could make a trigger that has one unit spawned in... say... 16 different regions at a designated time.
Heres what i have currently (A part of it):
It would be hell to write that another 14 times (and change player to 1, 2, 3... 10).
Thanks for any assisstance and:
+REP rewarded
I've been working on some spawns on my latest map, and because there is a massive amount of spawn points, (31 points to be exact, and 14 of these points will be for 10 separate players)... So I wanted to know if i could make a trigger that has one unit spawned in... say... 16 different regions at a designated time.
Heres what i have currently (A part of it):
Low Spawn
Events
Map initialization
Conditions
Actions
Wait 60.00 seconds
For each (Integer A) from 1 to 15, do (Actions)
Loop - Actions
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn1 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn2 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn3 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn4 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn5 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn6 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn7 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn8 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn9 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn10 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn11 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn12 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn13 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn14 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn15 <gen>) facing Default building facing degrees
Unit - Create 1 Ghoul for Player 12 (Brown) at (Center of LowCreepSpawn16 <gen>) facing Default building facing degrees
Wait 5.00 seconds
It would be hell to write that another 14 times (and change player to 1, 2, 3... 10).
Thanks for any assisstance and:
+REP rewarded