Your standard random selection trigger.
Create an integer array and fill it with the hero types available.
Then just choose a random index from it and ceate that hero type.
That easy.
For finite choice of heroes, simply remove them from the array.
Your standard random selection trigger.
Create an integer array and fill it with the hero types available.
Then just choose a random index from it and ceate that hero type.
That easy.
For finite choice of heroes, simply remove them from the array.
ive noticed one thing when i did like this... if i in the first map choose random FIRST of all players, and i get for example blademaster, i will get blademaster if i pick random first too the next time i play,
or if i use the random integer to just set a integer variable to a number, it will be the same number every game i play...