Wave problem

DragonBlade

Member
Reaction score
0
i have a problem with a trigger for wave...

trigger for move work perfect, but for create don't work

Trigger:
  • Waves move
    • Events
      • Unit - A unit enters Stanga Start 1 <gen>
      • Unit - A unit enters Stanga Start 2 <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Player 12 (Brown)
    • Actions
      • Unit - Order (Triggering unit) to Attack-Move To (Center of Stanga Finish <gen>)


--------------------------------------------------------------

Trigger:
  • Wave 1
    • Events
      • Time - Elapsed game time is 30.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Wave 1 Create <gen>
      • Trigger - Turn on Wave 1 Off <gen>


Trigger:
  • Wave 1 Create
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 3 Peasant for Player 12 (Brown) at (Center of Stanga Start 1 <gen>) facing Default building facing degrees
      • Unit - Create 3 Peasant for Player 12 (Brown) at (Center of Stanga Start 2 <gen>) facing Default building facing degrees


Trigger:
  • Wave 1 Off
    • Events
      • Time - Elapsed game time is 180.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn off Wave 1 <gen>
      • Trigger - Turn off Wave 1 Create <gen>
      • Trigger - Turn on Wave 2 <gen>
      • Trigger - Turn off (This trigger)


-------------------------------------------------------------

Trigger:
  • Wave 2
    • Events
      • Time - Elapsed game time is 10.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Wave 2 Create <gen>
      • Trigger - Turn on Wave 2 Off <gen>


Trigger:
  • Wave 2 Create
    • Events
      • Time - Every 5.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 3 Peon for Player 12 (Brown) at (Center of Stanga Start 1 <gen>) facing Default building facing degrees
      • Unit - Create 3 Peon for Player 12 (Brown) at (Center of Stanga Start 2 <gen>) facing Default building facing degrees


Trigger:
  • Wave 2 Off
    • Events
      • Time - Elapsed game time is 180.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn off Wave 2 <gen>
      • Trigger - Turn off Wave 2 Create <gen>
      • Trigger - Turn on Wave 3 <gen>
      • Trigger - Turn off (This trigger)



first wave come but the second not...
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Ok, first of all:

Time Elapsed - Is the time from the beginning of the game. Meaning Once those 180 seconds are up they don't come back. Replace These with Time - Every 180 seconds of the game.

Secondly, you're leaking points there, and it's going to start lagging read this:http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=27242
to learn how to get rid of memory lags, also you may want to read this:http://www.thehelper.net/forums/showthread.php?t=45616 and download a template, i'm sure that the Triggering part (part 3) will help you a lot ^^
 

canons200

New Member
Reaction score
50
as nenad explain, Elapsed game is counted from the second you enter to the map, seeing all the terrain. at such, your wave 2 is wrongly set.

seem you can to go for simple, then i tell you a simple way
change your wave 2 trigger
remove turn on wave 2 off AND add below action
Trigger - Run (wave 2 off) (checking conditions)

next go to your wave 2 off trigger, remove the event Elapsed game time is 180.00 seconds. AND add below action
Wait 180.00 seconds

see it? i used also set like this lol
then your action
 

DragonBlade

Member
Reaction score
0
thx for explain canons and nenad for tutorial:D is more eazy :) but now i have other problem :D my map isn't TD is hero defence(like x hero siege, enfo) and the heros can fight with 20 creeps in the same time... so i need to do to spawn like every 3 sec 3 creeps :)
 

canons200

New Member
Reaction score
50
change Every 5.00 seconds of game time to Every 3.00 seconds of game time
your action already create(spawn) 3 creeps
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top