• 🏆 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!

need help with this trigger plz sum one

Status
Not open for further replies.
Make a specific building like in "dota" the last building frozen throne/tree of life,

ill write a trigger im not in WE, i'll make if evil win
  • Events
    • Unit dies
  • Conditions
    • Unit type of dying unit is equal to tree of life<--just click on the building for this
  • Actions
    • Victory Evil
    • Defeat Good
Something like this, but use player group Good(red,blue,teal) Bad(green,brown)<-player group
 
  • Win Good
    • Events
      • Unit - Frozen Throne Dies
    • Conditions
    • Actions
      • Set Good = (All players matching (((Matching player) is an ally of Player 1 (Red)) Equal to True))
      • Set Bad = (All players matching (((Matching player) is an ally of Player 7 (Green)) Equal to True))
      • Player Group - Pick every player in Good and do (Actions)
        • Loop - Actions
          • Game - Victory (Picked player) (Show dialogs, Show scores)
      • Player Group - Pick every player in Bad and do (Actions)
        • Loop - Actions
          • Game - Defeat (Picked player) with the message: Defeat!
  • Win Bad
    • Events
      • Unit - Tree of Life Dies
    • Conditions
    • Actions
      • Set Good = (All players matching (((Matching player) is an ally of Player 1 (Red)) Equal to True))
      • Set Bad = (All players matching (((Matching player) is an ally of Player 7 (Green)) Equal to True))
      • Player Group - Pick every player in Bad and do (Actions)
        • Loop - Actions
          • Game - Victory (Picked player) (Show dialogs, Show scores)
      • Player Group - Pick every player in Good and do (Actions)
        • Loop - Actions
          • Game - Defeat (Picked player) with the message: Defeat!
 
Level 8
Joined
Mar 12, 2008
Messages
437
  • Actions
    • Player Group - Pick every player in (Player group) and do multiple actions
      • Loop - Actions
        • Game - Victory (Picked player) (Show dialogs, Show scores)
For unit group, do (All allies of Player 1 (Red)) for team 1, and (All allies of Player 7 (Green)) for team 2.

Edit: Oops, someone was faster than me. Didn't see that.
 
Status
Not open for further replies.
Top