• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Tower Defence Defeat Trigger

Status
Not open for further replies.
Just that you win.

If i posted this wrong then i apologize and ask that a mod move it to the right forum.

But how do i make you loose the map when the life counter hits 0?

~Semp~
 
Depends on how you have your td setup.. if you have lifes, how the level-system is setup.. other than that its just
  • Game - Defeat playernumber with the message: put-a-defeatmessage-here
Edit: Post your life system here.. else i cant really help

An example of how it COULD look:
  • Player 1 Dead
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
      • P1Lifes Less than or equal to 0
    • Actions
      • Game - Defeat Player 1 (Red) with the message: You have leaked..
      • Trigger - Turn off (This trigger)
 
I dont know how to make the forum show trigger. But i use a integer for it.

Varible Name: Lives.

Varible Type: Intiger.

Initial Value: 100.

Hope that helped you to help me. :grin:

~Semp~
 
  • Events
    • Time - Every 0.50 seconds of game time
  • Conditions
    • Lives Less than or equal to 0
  • Actions
    • Game - Defeat Player 1 (Red) with the message: You have leaked...
    • Trigger - Turn off (This trigger)
Make 1 of theese for each player..
+rep if i helped
 
Every time a creep leaks, set it to its value -1 so it reduces by 1.
Then check if it is equal to 0, if so then defeat the players.

I already did that, thanks anyway though.

  • Events
    • Time - Every 0.50 seconds of game time
  • Conditions
    • Lives Less than or equal to 0
  • Actions
    • Game - Defeat Player 1 (Red) with the message: You have leaked...
    • Trigger - Turn off (This trigger)
Make 1 of theese for each player..
+rep if i helped

Thanks, that did it.

+ Rep.

~Semp~
 
Lets see if i cant work out useing the forum... Trigger thing.

  • Events
    • Time - Every 0.10 seconds of game time
  • Conditions
    • Lives Less than or equal to 0
  • Actions
    • Game - Defeat Player 1 (Red) with the message: - PWNED -
    • Game - Defeat Player 2 (Red) with the message: - PWNED -
    • Game - Defeat Player 3 (Red) with the message: - PWNED -
    • Game - Defeat Player 4 (Red) with the message: - PWNED -
    • Game - Defeat Player 5 (Red) with the message: - PWNED -
    • Trigger - Turn off (This trigger)
It's a team td. So i edited the trigger.
 
Status
Not open for further replies.
Back
Top