Hey guys,
So my friend and I are working on a Risk style map and I'm having some very basic trigger problems. I tried searching through the threads before so hopefully someone hasn't asked this already, but if someone has just refer me to it, thanks.
I'm trying to make it so that at the beginning of the match, the cities are randomly assigned to the players equally.
So far my efforts have included:
1. Putting all the cities into a variable
2. Randomly picking a number out of those cities (total cities/total players) and then assigning those cities to a player and then removing those cities from the variable.
3. Repeat step 2 for all the players if they are playing.
For some reason, it get a sloppy number of cities and have some left over for neutral hostile, which is not what i want.
If any of you could help that would be great!
Thanks!
So my friend and I are working on a Risk style map and I'm having some very basic trigger problems. I tried searching through the threads before so hopefully someone hasn't asked this already, but if someone has just refer me to it, thanks.
I'm trying to make it so that at the beginning of the match, the cities are randomly assigned to the players equally.
So far my efforts have included:
1. Putting all the cities into a variable
2. Randomly picking a number out of those cities (total cities/total players) and then assigning those cities to a player and then removing those cities from the variable.
3. Repeat step 2 for all the players if they are playing.
For some reason, it get a sloppy number of cities and have some left over for neutral hostile, which is not what i want.
If any of you could help that would be great!
Thanks!