Hi, Im currently working on a 2vs2 hero arena map and I need some help with triggers, specifically I need triggers that when one of the team loses(their heroes die) the other teams wins the match and they get the victory screen and the team who lost gets the defeat screen, does anyone know how to do this:P?
hmm strange, now when i kill player 3 and 4 I get the defeat screen:P would you mind if i took some screenshots so you could take a look if i have done something wrong:P?
Hi, Im currently working on a 2vs2 hero arena map and I need some help with triggers, specifically I need triggers that when one of the team loses(their heroes die) the other teams wins the match and they get the victory screen and the team who lost gets the defeat screen, does anyone know how to do this:P?
@Wampsie: Go
Hey, you could store the units per team in a unit group and do something like this:
thank you so much! Ill try this right away=)
edit: just one question though hehe:P, how do you store the units per team:P? I guess thats what HeroesTeam2 and HeroesTeam1 are?
@Wampsie: Go
Make 2 global unit groups then after the units are created on the map run this(make sure you give heroes on your map heroic attribute):
@Rice87: Go
hi, sorry for being a noob here hehe but do you mean 2 global unit groups as 2 variables?
@Wampsie: Go
yes
@Rice87: Go
okay thanks=)
hmm strange, now when i kill player 3 and 4 I get the defeat screen:P would you mind if i took some screenshots so you could take a look if i have done something wrong:P?
Here are the screens: http://imageshack.us/photo/my-images/824/screenshot1na.jpg/
@Wampsie: Go
hmm taking a look at the screens
....
@Wampsie: Go
I think your problem is not having the lobby decide which players are on which team and share ally.
you put players in playergroup team1 but this is not actually team 1 accoording to the lobby slots.
so lets say lobby gets player 3 and 4 in team 1 and then you put player 3 and 4 in your game as team 2
and with setting the victory your refer to the team1 you have created but not actually team 1 from the lobby, see how this becomes messy/
yeah its really messy:P hehe