- Joined
- May 31, 2016
- Messages
- 9
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Hello. I have another question.
I am making this game where you are in a "battle arena" and there is a guy you talk to, and he randomly selects a number, which selects a person, whose variable is also random.
E.g. You walk up to this guy. He then picks the number "2". (variable "A")
Then every NPC picks a random number. In this case it is "2"(variable "B", "C", "D", "E", etc.)
Another NPC also ends up picking "2".
I would go with this, but how can I prevent 2 people from choosing the same number while keeping it random?
Thanks!
I am making this game where you are in a "battle arena" and there is a guy you talk to, and he randomly selects a number, which selects a person, whose variable is also random.
E.g. You walk up to this guy. He then picks the number "2". (variable "A")
Then every NPC picks a random number. In this case it is "2"(variable "B", "C", "D", "E", etc.)
Another NPC also ends up picking "2".
I would go with this, but how can I prevent 2 people from choosing the same number while keeping it random?
Thanks!



