| 11-12-2004, 11:46 AM | #1 |
Ok...Im kinda stuck here....im a average triggerer and i really cant figure out how to do this...In my map when the game starts all the people are given a "Lost Soul" to choose a hero with...they can all choose from 20 differnt heros. In my map there is also 4 castles, all of diffrent teams...Now what i want to happen is that when you choose a hero you will randomly get one of the 4 castles as your partner, and when someone else chooses a character he will randomly get a partner. In all it will be 4 groups of 2 partners each...all random with random castle start locations...My map is all basicly done, so anyone with advanced trigger knowledge that would like to help me out could also contact me through a pm, and it could be a joint project...Thanks for your help in advance ~Vilkacis |
| 11-12-2004, 05:53 PM | #2 |
The principle is to have an integer array with slots in it, 4 slots to be exact. One for each castle/Team. Take a random number between 1 and 4, for the index of the integer. If it's 1 or less, then set it to +1 and add it to the team the random number displayed. Well, that's the basics, and don't forget to ally players up. |
