World Editor (TFT) Tower Defense (End)

sxebeast

New Member
Reaction score
0
In the last wave of my TD (wave 40) I have 2 mountain giants spawn.

how do i make it so that when both of them die, you win?
 

niceone

New Member
Reaction score
3
If it are only 2 you can do something like this.

Trigger:
  • a
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Mountain Giant
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Won Equal to True
        • Then - Actions
          • Game - Defeat Player 1 (Red) with the message: Defeat!
          • Game - Defeat Player 2 (Blue) with the message: Defeat!
          • Game - Defeat Player 3 (Teal) with the message: Defeat!
          • Game - Defeat Player 4 (Purple) with the message: Defeat!
          • Game - Defeat Player 5 (Yellow) with the message: Defeat!
          • Game - Victory Player 6 (Orange) (Show dialogs, Show scores)
          • Game - Victory Player 7 (Green) (Show dialogs, Show scores)
          • Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
          • Game - Victory Player 9 (Gray) (Show dialogs, Show scores)
          • Game - Victory Player 10 (Light Blue) (Show dialogs, Show scores)
        • Else - Actions
          • Set Won = True
 

sxebeast

New Member
Reaction score
0
Wont work

I have 2 mountain giants, if i do that once one dies you win i need it so that when BOTH die you win.
 

niceone

New Member
Reaction score
3
Ehh this is for both? the Win variable get set to true when 1 dies and then when the second one dies it triggers the end.
 

niceone

New Member
Reaction score
3
Just added some loss / win actions :) you can set them all to win if you need :) or all to lose or whatever you like :)
 

Moridin

Snow Leopard
Reaction score
144
If you're talking about the If condition it's under

If - multiple conditions, multiple actions

...or something like that. When you say new action, just tap "i" and you'll get it.

The other ones are under "game". Tap "g" and you should go straight to it.
 
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