Well, I'm kinda stuck with a player-checking related problem, so I hope here I will find the solution
I'm slowly learning all this whole Editor thing so there will be things I understand, but if you have the time to directly create a test map it would be much better.
However, to the point. If you have any doubts about this system feel free to ask. There is a map with 4 playable slots. There also is 1 pre-defined region near the start point of each one, but as in standard games the starting location of a player is randomized between those 4 points, you don't know which player will be in which slot unless you start the game.
I would need:
Thanks in advance, to all of you!
I'm slowly learning all this whole Editor thing so there will be things I understand, but if you have the time to directly create a test map it would be much better.
However, to the point. If you have any doubts about this system feel free to ask. There is a map with 4 playable slots. There also is 1 pre-defined region near the start point of each one, but as in standard games the starting location of a player is randomized between those 4 points, you don't know which player will be in which slot unless you start the game.
I would need:
- A trigger to check how many players are actually playing. Max. is 4, but it could also be a 1v1 match.
- A system who checks what is the nearest pre-defined region to each player's starting point, and creates a unit for that player (a "House") in the center of the region.
So if there are 4 players, they would start each one with a "House" for their own, created in the region that "belongs" to them. - It is possible for other people to enter as observers/referees, so the system should work even if the first four game slots (for example) are filled with observers instead of players.
- When a House dies, another one replaces it after a few seconds, but that's easy. What I'm also looking forward to, is to create a small and simple scoreboard which would show how many Houses has each player destroyed.
I'm not asking you to make the whole scoreboard thing for me (i don't know if thats difficult) but if you could then give me some advice on it, it would be also appreciated.
Thanks in advance, to all of you!