HahaGetItPEE
New Member
- Reaction score
- 0
Your typical hero wars map.
I've already got a working random player duel system, however some players tend to be randomed more than others, thus dueling more often. I would like to create a "Pseudo-Random" duel system, so when the duel system selects a random unit, players who have already dueled won't have a chance to be selected to duel again.
I would like to create a player group consisting of players who haven't dueled yet, so that all players will eventually get a chance, and when every player duels once, it resets the player group to consist of all players in the game.
when a player duels, the player is removed from the player group "HasntDueled"
So far i've got the player group, and every player in the game is in it. Removing players who duel is no problem, but i'm not sure how i can get the player group to recycle when there are no players left in it.
Help is very much appreciated.
I've already got a working random player duel system, however some players tend to be randomed more than others, thus dueling more often. I would like to create a "Pseudo-Random" duel system, so when the duel system selects a random unit, players who have already dueled won't have a chance to be selected to duel again.
I would like to create a player group consisting of players who haven't dueled yet, so that all players will eventually get a chance, and when every player duels once, it resets the player group to consist of all players in the game.
when a player duels, the player is removed from the player group "HasntDueled"
So far i've got the player group, and every player in the game is in it. Removing players who duel is no problem, but i'm not sure how i can get the player group to recycle when there are no players left in it.
Help is very much appreciated.