- Joined
- Dec 23, 2023
- Messages
- 47
Hello, I can't figure out, why it just sometimes spawns the Units?
The Managing of Waves
I set this with the trigger seen in pricture 1 before every wave. 1sec ater this it enabled the trigger that spawns a unit of the unit type set in the variable every second until it gets turnes of again 25 seconds later.
Sometimes this works, but sometimes it doesn't.
I think the problem could be
The Managing of Waves
-
Set VariableSet CurrentWaveUnit = (Units of type Welle 1)
-
Wait 1.00 seconds
-
Trigger - Turn on Wave Spawn <gen>
-
Wait 25.00 seconds
-
Trigger - Turn off Wave Spawn <gen>
-
Wait until ((All units of (Units owned by Player 12 (Brown).) are dead) Equal to Wahr), checking every 1.00 seconds
-
Game - Display to (All players) for 5.00 seconds the text: Nächste Welle...
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Actions
-
Unit - Create 1 (Unit-type of (Random unit from CurrentWaveUnit)) for Player 12 (Brown) at (Center of SpawnOL <gen>) facing Default building facing degrees
-
Unit - Create 1 (Unit-type of (Random unit from CurrentWaveUnit)) for Player 12 (Brown) at (Center of SpawnOR <gen>) facing Default building facing degrees
-
Unit - Create 1 (Unit-type of (Random unit from CurrentWaveUnit)) for Player 12 (Brown) at (Center of SpawnUL <gen>) facing Default building facing degrees
-
Unit - Create 1 (Unit-type of (Random unit from CurrentWaveUnit)) for Player 12 (Brown) at (Center of SpawnUR <gen>) facing Default building facing degrees
-
I set this with the trigger seen in pricture 1 before every wave. 1sec ater this it enabled the trigger that spawns a unit of the unit type set in the variable every second until it gets turnes of again 25 seconds later.
Sometimes this works, but sometimes it doesn't.
I think the problem could be
-
Unit - Create 1 (Unit-type of (Random unit from CurrentWaveUnit)) for Player 12 (Brown) at (Center of SpawnOL <gen>) facing Default building facing degrees
Last edited: