I am working on a TD, a bit ordinary one.
The triggers just ignore what I do... Can someone look at this and tell me what is wrong? The second and third wave comes 10 seconds after the first - thats really wrong.
The basic idéa is as following:
When the unit "Magnus Söderman" enters region "Next Wave" Player 4 (Creep player) gets +1 gold (He has 0 from the beginning) and then trigger the waves to come. Magnus Söderman is trained from a building nearby the region he is supposed to go to.
Magnus Söderman:
Magnus Söderman 2:
Magnus Söderman Explode
Wave 1
Wave 2
Wave 3
The triggers just ignore what I do... Can someone look at this and tell me what is wrong? The second and third wave comes 10 seconds after the first - thats really wrong.
The basic idéa is as following:
When the unit "Magnus Söderman" enters region "Next Wave" Player 4 (Creep player) gets +1 gold (He has 0 from the beginning) and then trigger the waves to come. Magnus Söderman is trained from a building nearby the region he is supposed to go to.
Magnus Söderman:
Code:
Event - Time every 0.10 seconds of the game
Actions - Order random unit from (units of type Magnus Söderman)) To move to (Center of Next Wave <gen>)
Magnus Söderman 2:
Code:
Event - Unit - A unit enters Hets Mot Folkgrupp Huset <gen>
Conditions - (Unit-type of (Triggering unit)) Equal to Magnus Söderman
Actions -Trigger - Turn on this trigger
Unit - Change ownership of (Random unit from (Units of type Magnus Söderman)) to Neutral Passive and Change color
Unit - Order triggering unit to Move to (Center of Next Wave <gen>
Magnus Söderman Explode
Code:
Event - Unit enter Next Wave
Condition (Unit-type of (Triggering unit)) Equal to Magnus Söderman)
Actions - Trigger - Turn on this Trigger
Wait 0.5 seconds
Unit - Explode (Entering unit)
Player - add 1 to player 4 (purple) Current gold
Wave 1
Code:
Events - Player - Player 4 (Purple)´s Current Gold becomes Equal to 1.00
Unit - A unit enters Next Wave <gen>
Condition (Unit-type of (Triggering unit)) Equal to Magnus Söderman)
Actions - Trigger - Turn on This trigger
Quest - Display to all players the Warning message ****
Unit - Create 12 Mutated Chickens for Player 4 (Purple) at (Center of spawn 1 <gen>) Facing Default building facing degrees
Unit - Create 12 Mutated Chickens for Player 4 (Purple) at (Center of spawn 2 <gen>) Facing Default building facing degrees
Trigger - Turn off (This Trigger)
Wave 2
Code:
Events - Player - Player 4 (Purple)´s Current Gold becomes Equal to 2.00
Unit - A unit enters Next Wave <gen>
Condition (Unit-type of (Triggering unit)) Equal to Magnus Söderman)
Actions - Trigger - Turn on This trigger
Player - Add 40 gold to player 1 (Red) Current Gold
Player - Add 40 gold to player 2 (Blue) Current Gold
Player - Add 40 gold to player 3 (Teal) Current Gold
Wait 10.00 Seconds
Quest - Display to all players the Warning message ****
Unit - Create 12 Tarantula for Player 4 (Purple) at (Center of spawn 1 <gen>) Facing Default building facing degrees
Unit - Create 12 Tarantula for Player 4 (Purple) at (Center of spawn 2 <gen>) Facing Default building facing degrees
Trigger - Turn off (This Trigger)
Wave 3
Code:
Events - Player - Player 4 (Purple)´s Current Gold becomes Equal to 3.00
Unit - A unit enters Next Wave <gen>
Condition (Unit-type of (Triggering unit)) Equal to Magnus Söderman)
Actions - Trigger - Turn on This trigger
Player - Add 40 gold to player 1 (Red) Current Gold
Player - Add 40 gold to player 2 (Blue) Current Gold
Player - Add 40 gold to player 3 (Teal) Current Gold
Wait 10.00 Seconds
Quest - Display to all players the Warning message ****
Unit - Create 13 Angry Blizzard Employee for Player 4 (Purple) at (Center of spawn 1 <gen>) Facing Default building facing degrees
Unit - Create 13 Angry Blizzard Employee for Player 4 (Purple) at (Center of spawn 2 <gen>) Facing Default building facing degrees
Trigger - Turn off (This Trigger)