Hello. In my game I a trigger which runs when a wave ends, ie "Round Complete".
-
Next Round
-
Events
- Player - Player 12 (Brown)'s Food used becomes Less than 1.00
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Pointer + 1) Greater than x
-
Then - Actions
- Trigger - Run Victory <gen> (checking conditions)
-
Else - Actions
- Set Pointer = (Pointer + 1)
- Sound - Play GoodJob <gen>
- Game - Display to (All players) for 15.00 seconds the text: Round Complete
- Set Players2 = (All allies of Player 1 (Red))
-
Player Group - Pick every player in Players2 and do (Actions)
-
Loop - Actions
- Player - Add 750 to (Picked player) Current gold
-
Loop - Actions
- Custom script: call DestroyForce (udg_Players2)
- Wait 12.00 seconds
- Trigger - Run Spawn Units <gen> (checking conditions)
- Trigger - Run Blademaster <gen> (checking conditions)
- Trigger - Run Lich <gen> (checking conditions)
- Trigger - Run Demon Hunter <gen> (checking conditions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
test
-
Events
- Time - Elapsed game time is 3.00 seconds
- Conditions
-
Actions
- Game - Display to (All players) the text: It worked!
- Game - Display to (All players) for 30.00 seconds the text: It Worked!
- Quest - Display to (All players) the Quest Completed message: It Worked!
-
Events
-
Earth Description
-
Events
- Unit - A unit enters Earth Description <gen>
-
Conditions
- (Unit-type of (Entering unit)) Equal to Peasant
-
Actions
- Quest - Display to (All players matching ((Matching player) Equal to (Owner of (Entering unit)))) the Hint message: ...
-
Events