• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Annihilation Trigger (Victory after Team-Wipe)

Status
Not open for further replies.
Level 1
Joined
Sep 30, 2011
Messages
2
My map is somekind of easy gameplay,;


easly finished if u would have easy opponents offcourse
can take abit longer vs players who know how to play ;)

now the important thing about my map:

it is annihilation,; that means, NO RESPAWNS..
this means 1 of the 2 teams win the game if all players of a team die..

the question i ask is that i actually need a trigger....

to make victory only if a whole team is dead...


FOR YOUR INFORMATION: i do not often work with variables etc, lack of experience,

when started out triggering, i just found out what i know now by own continuesly practice...

------------------------
People are welcome to help with the project **
------------------------

Help me out? Please >>> CUTE? >>>> :ogre_kawaii:
 
Level 4
Joined
Aug 17, 2008
Messages
81
  • Team die
    • Events
      • Time - Every 1.50 seconds of game time
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is alive) Equal to True
            • Then - Actions
              • Unit Group - Add (Picked unit) to team1
            • Else - Actions
              • Unit Group - Remove (Picked unit) from team1
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (team1 is empty) Equal to True
        • Then - Actions
          • Game - Defeat Player 1 (Red) with the message: Defeat!
        • Else - Actions
          • Do nothing
Here's an example. Just configure it for each player on each team. You only need to make one variable for each team's unit group.
 
Level 1
Joined
Sep 30, 2011
Messages
2
I didnt got it working exacly


let me put this more obvious...


Players: '(Team1)'

RED: Computer
BLUE: Player
TEAL: Player
PURPLE: Player
YELLOW: Player
ORANGE: Player

Players: '(Team2)'

GREEN: Computer
PINK: Player
GRAY: Player
LIGHTBLUE: Player
DARKGREEN: Player
BROWN: Player


** also will be needing more exact help with variables abit more **
 
Status
Not open for further replies.
Top