• 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.

[General] Does someone here available to make me a trigger????? PLEASE HELP MEEEEEEEEEEEEEEEEEEEEEEEEE!!!!

Status
Not open for further replies.
Level 2
Joined
Aug 4, 2018
Messages
8
if you are available, please do me a favor, would you make me a trigger; in a melee map, a trigger that makes my allied team into an enemy team. PLEASE HELP MEEEEEEEEEEEEEEEEE i'm an ignorant peasant!!!
 
Level 29
Joined
Feb 18, 2014
Messages
3,595
i want my allied team to become an enemy team after defeating all of the enemies
I don't know which players are in the ally team and which ones are in the enemy team but here's an example on how to detect when all enemy players are defeated so that you can turn your ally team into an enemy team. Let's suppose :

Ally team = Player 2 (Blue) + Player 3 (Teal) + Player 4 (Purple)

Enemy team = Player 5 (Yellow) + Player 6 (Orange) + Player 7 (Green)

  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- Player --------
      • Set Player = Player 1 (Red)
      • -------- Ally Team --------
      • Player Group - Add Player 2 (Blue) to AllyTeam
      • Player Group - Add Player 3 (Teal) to AllyTeam
      • Player Group - Add Player 4 (Purple) to AllyTeam
  • Check Enemy Team Dead
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
      • (All units of (Units owned by Player 5 (Yellow)) are dead) Equal to TRUE
      • (All units of (Units owned by Player 6 (Orange)) are dead) Equal to TRUE
      • (All units of (Units owned by Player 7 (Green)) are dead) Equal to TRUE
    • Actions
      • Trigger - Turn off (This trigger)
      • Player Group - Pick every player in AllyTeam and do (Actions)
        • Loop - Actions
          • Player - Make (Picked player) treat Player as an Enemy
 
Status
Not open for further replies.
Top