- Joined
- Jul 7, 2013
- Messages
- 141
Hello Hivers, I need some help with my TD. I have a spawning trigger that really needs improvement so can someone help me make a more efficient spawning trigger that this one?
(Peasants are only a placeholder)
The spawning area is really small so I have to spawn these units one by one. Any help would be much appreciated.
(Peasants are only a placeholder)
-
INIT Unit Types
- Events
- Conditions
-
Actions
- -------- Level 1 Unit Types --------
- Set UnitTypesLevel_1[1] = Peasant
- Set UnitTypesLevel_1[2] = Peasant
- Set UnitTypesLevel_1[3] = Peasant
- Set UnitTypesLevel_1[4] = Peasant
- Set UnitTypesLevel_1[5] = Peasant
- Set UnitTypesLevel_1[6] = Peasant
- Set UnitTypesLevel_1[7] = Peasant
- Set UnitTypesLevel_1[8] = Peasant
- Set UnitTypesLevel_1[9] = Peasant
- Set UnitTypesLevel_1[10] = Peasant
- -------- Level 2 Unit Types --------
- Set UnitTypesLevel_2[1] = Peasant
- Set UnitTypesLevel_2[2] = Peasant
- Set UnitTypesLevel_2[3] = Peasant
- Set UnitTypesLevel_2[4] = Peasant
- Set UnitTypesLevel_2[5] = Peasant
- Set UnitTypesLevel_2[6] = Peasant
- Set UnitTypesLevel_2[7] = Peasant
- Set UnitTypesLevel_2[8] = Peasant
- Set UnitTypesLevel_2[9] = Peasant
- Set UnitTypesLevel_2[10] = Peasant
- Set UnitTypesLevel_2[11] = Peasant
- Set UnitTypesLevel_2[12] = Peasant
- Set UnitTypesLevel_2[13] = Peasant
- Set UnitTypesLevel_2[14] = Peasant
- Set UnitTypesLevel_2[15] = Peasant
- -------- Level 3 Unit Types --------
- Set UnitTypesLevel_3[1] = Peasant
- Set UnitTypesLevel_3[2] = Peasant
- Set UnitTypesLevel_3[3] = Peasant
- Set UnitTypesLevel_3[4] = Peasant
- Set UnitTypesLevel_3[5] = Peasant
- Set UnitTypesLevel_3[6] = Peasant
- Set UnitTypesLevel_3[7] = Peasant
- Set UnitTypesLevel_3[8] = Peasant
- Set UnitTypesLevel_3[9] = Peasant
- Set UnitTypesLevel_3[10] = Peasant
- Set UnitTypesLevel_3[11] = Peasant
- Set UnitTypesLevel_3[12] = Peasant
- Set UnitTypesLevel_3[13] = Peasant
- Set UnitTypesLevel_3[14] = Peasant
- Set UnitTypesLevel_3[15] = Peasant
- -------- Level 4 Unit Types --------
- Set UnitTypesLevel_4[1] = Peasant
- Set UnitTypesLevel_4[2] = Peasant
- Set UnitTypesLevel_4[3] = Peasant
- Set UnitTypesLevel_4[4] = Peasant
- Set UnitTypesLevel_4[5] = Peasant
- -------- Level 5 Unit Types --------
- Set UnitTypesLevel_5[1] = Peasant
- Set UnitTypesLevel_5[2] = Peasant
- Set UnitTypesLevel_5[3] = Peasant
- Set UnitTypesLevel_5[4] = Peasant
- Set UnitTypesLevel_5[5] = Peasant
-
Level 1 Group 1
-
Events
- Time - WaveTimer expires
- Conditions
-
Actions
- Countdown Timer - Destroy WaveTimerWindow
- Set TempPoint = (Center of Start Region Level 1 <gen>)
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Wait 0.50 seconds
- Unit - Create 1 UnitTypesLevel_1[1] for Player 12 (Brown) at TempPoint facing Default building facing degrees
- Set NumberOfEnemies = (NumberOfEnemies + 1)
- Custom script: call RemoveLocation(udg_TempPoint)
- Custom script: call DestroyTrigger(GetTriggeringTrigger())
-
Events