You can "turn off (current trigger)" and at the end of your actions, wait 10 seconds and turn it on again, in so that it can be triggered only once every 10 seconds.
Yeah... I was just about to say the following Triggers work perfectly:
Player 1 Moves Civilian to Doodad
Events
Unit - Any Unit Enters Player 1 StartLevel
Local Variables
Conditions
(Owner of (Triggering unit)) == 1
(Unit type of (Triggering unit)) == Civilian (Male)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create Current Wave Data[0] Wave Type[Current Wave Data[1]] for player 9 at Enemy Start 1 using default facing (No Options)
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[0] == 1
Then
UI - Display Wave Text[Current Wave Data[1]] for (Player group((Triggering player))) to Directive area
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Current Wave Data[1] mod 2) == 0
Then
Math - Cycle Current Wave Data[0] from 1 through 8
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[0] == 1
Then
Math - Cycle Current Wave Data[1] from 0 through 13
Else
Else
Variable - Set Current Wave Data[0] = 1
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[1] != 13
Then
Math - Cycle Current Wave Data[1] from 0 through 13
Else
Game - End game in Victory for player 1 (Show dialogs, Show score screen)
General - Wait 10.0 Real Time seconds
Unit - Create 1 Civilian (Male) for player 1 at Player 1 Civ Start using default facing (No Options)
UI - Clear Directive Messages for (Player group(1))
@Mesden: Go
i didn't think of that lol. That would work, its just sorta evasive.
@gizmachu:
Yeah... I was just about to say the following Triggers work perfectly:
Player 1 Moves Civilian to Doodad
Events
Unit - Any Unit Enters Player 1 StartLevel
Local Variables
Conditions
(Owner of (Triggering unit)) == 1
(Unit type of (Triggering unit)) == Civilian (Male)
Actions
Unit - Remove (Triggering unit) from the game
Unit - Create Current Wave Data[0] Wave Type[Current Wave Data[1]] for player 9 at Enemy Start 1 using default facing (No Options)
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[0] == 1
Then
UI - Display Wave Text[Current Wave Data[1]] for (Player group((Triggering player))) to Directive area
Else
General - If (Conditions) then do (Actions) else do (Actions)
If
(Current Wave Data[1] mod 2) == 0
Then
Math - Cycle Current Wave Data[0] from 1 through 8
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[0] == 1
Then
Math - Cycle Current Wave Data[1] from 0 through 13
Else
Else
Variable - Set Current Wave Data[0] = 1
General - If (Conditions) then do (Actions) else do (Actions)
If
Current Wave Data[1] != 13
Then
Math - Cycle Current Wave Data[1] from 0 through 13
Else
Game - End game in Victory for player 1 (Show dialogs, Show score screen)
General - Wait 10.0 Real Time seconds
Unit - Create 1 Civilian (Male) for player 1 at Player 1 Civ Start using default facing (No Options)
UI - Clear Directive Messages for (Player group(1))
@Yaos01:
That's one ugly Jigglypuff lol