| 06-26-2004, 11:38 PM | #1 |
Hey, I have another question, being that this website holds much skill, I've been messing around and trying to figure out how to create a trigger to divide up all units owned by a player when they leave, I'm close to clueless on the abouts of doing this, however I did come up with an array of the players and I attempted to divide the units of player 1(for example) among players 2 through 5 (for example) but I can't figure out how to divide those units of player 1 evenly among 2-5, if anyone could help I'd once again greatly appreciate your time spent, thank you. |
| 06-27-2004, 12:39 AM | #2 |
add all of the leaving player's units to a unit group then use a loop 1-12 and do If player slot status = in game or whatever then pick random unit in leaving players unit and change its owner to player(forloopindexa) else do nothing |
