I'm still having trouble figuring out how to associate players with the slots they held in the lobby. Here's what I assume I should do:
This isn't the real map, obviously, but what i'm looking for this trigger do to is check to see if the Team has a player on it, if so, then create a pylon for that team (there's only going to be 1 player per team) at the center of the globalStartLocation[team]
I'm not sure exactly what you are trying to do in your trigger. Could you please explain some more? From what I've read, it sounds like you want to create a pylon at team 1's start location for whoever happens to represent team 1. Is that right?
Yes. It's a free for all, one player per team.. and I want one structure to be built for each player aka team at their starting points. In this case, their "starting points" are (center of region) which is fine. I want the starting points for each team to be dependent on their position in the game lobby. Team 1 gets center of region x, team 2 gets center of region y... etc.
Okay. I think the simplest way to do it would be to use just the localTeamCounter For loop. For the region index, just use the localTeamCounter. Team 1 gets the region at index 1, team 2 gets the region at index 2, etc.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm still having trouble figuring out how to associate players with the slots they held in the lobby. Here's what I assume I should do:
This isn't the real map, obviously, but what i'm looking for this trigger do to is check to see if the Team has a player on it, if so, then create a pylon for that team (there's only going to be 1 player per team) at the center of the globalStartLocation[team]
Never, ever, ever, ever, ever stack For loops.
@BasharTeg: Go
umm k? I'll take your word on that - but what's a good way to do it then?
I'm not sure exactly what you are trying to do in your trigger. Could you please explain some more? From what I've read, it sounds like you want to create a pylon at team 1's start location for whoever happens to represent team 1. Is that right?
@BasharTeg: Go
Yes. It's a free for all, one player per team.. and I want one structure to be built for each player aka team at their starting points. In this case, their "starting points" are (center of region) which is fine. I want the starting points for each team to be dependent on their position in the game lobby. Team 1 gets center of region x, team 2 gets center of region y... etc.
Okay. I think the simplest way to do it would be to use just the localTeamCounter For loop. For the region index, just use the localTeamCounter. Team 1 gets the region at index 1, team 2 gets the region at index 2, etc.