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!
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!!!
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.