TD waves... (was: Help pls :))

Ynklig

New Member
Reaction score
0
I´ve watched and "done" the Tower Defence tut. But I got a problem, I´m sure its really easy, but I cant find it. I can spawn the first wave of creeps but the 2nd wave doesnt spawn. I have food on everyone ( At least one food ).

Thanks for the awesome tutorial, it helped me alot :D
 

Ynklig

New Member
Reaction score
0
sounds kinda noobish :\ but I dont know how to post it that ways that some ppl do ;s
 

w00t22

CSS L4D DoD? Steam ID = w00t22
Reaction score
43
ok hit the button with this symbol # Then go to your trigger and right click the title where events conditions actiosn etc is and right click and hit "Copy as Text" Than just paste it inbetween the [CODE ] *Here* [ /Code] parts
 

Ynklig

New Member
Reaction score
0
I dont know wich of them is the wrong one. But here goes:

Code:
Events
    Map initialization
Conditions
Actions
    Set inGamePlayers = (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User)))
    Set creepArray[1] = Footman
    Set creepArray[2] = Knight
    Set creepArray[3] = Rifleman
    Set creepArray[4] = Gryphon Rider
    Set creepArray[5] = Paladin
    Set creepCount_lastIndex = 5
    Visibility - Disable fog of war
    Visibility - Disable black mask
    Set colourGold = |cffffcc00
    Set colourPlayers[1] = |c00ff0303
    Set colourPlayers[2] = |000042ff
    Set colourPlayers[3] = |c001ce6b9
    Set colourPlayers[4] = |c00540081
    Set colourPlayers[5] = |c00fffc01
    Set colourPlayers[6] = |c00feba0e
    Set colourPlayers[7] = |c0020c000
    Set colourPlayers[8] = |c00e55bb0
    Set hostileCreeps = Player 2 (Blue)
    Set hostileCreeps = Player 12 (Brown)
    Player - Turn Gives bounty On for hostileCreeps
    Set livesCount = 30


Code:
Events
    Map initialization
Conditions
Actions
    Set creepSpawnCount[1] = 12
    Set creepSpawnCount[2] = 8
    Set creepSpawnCount[3] = 10
    Set creepSpawnCount[4] = 8
    Set creepSpawnCount[5] = 1

Code:
Events
    Time - Elapsed game time is 10.00 seconds
    Player - Player 11 (Dark Green)'s Food used becomes Equal to 0.00
    Player - Player 2 (Blue)'s Food used becomes Equal to 0.00
Conditions
Actions
    Set levelCount = (levelCount + 1)
    Set bonusIncome = (bonusIncome + 45)
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        If - Conditions
            levelCount Equal to (creepCount_lastIndex + 1)
        Then - Actions
            Wait 2.00 seconds
            Player Group - Pick every player in inGamePlayers and do (Actions)
                Loop - Actions
                    Game - Victory (Picked player) (Show dialogs, Show scores)
        Else - Actions
            Countdown Timer - Create a timer window for creepTimer with title Next Wave
            Countdown Timer - Start creepTimer as a One-shot timer that will expire in 30.00 seconds
            Set creepTimeWindow = (Last created timer window)
            Countdown Timer - Show creepTimeWindow
            Player Group - Pick every player in inGamePlayers and do (Actions)
                Loop - Actions
                    Player - Add bonusIncome to (Picked player) Current gold


I hope someone find the answer :\ If u need another trigger thingie ( if u dont find anything wrong in this one ) just tell me, cus I do everything to make it right atm.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top