| 01-02-2004, 05:51 PM | #1 |
Im making a little tiny RPg and the race you select you get a hero from that race...but i want it to be able random so far i got if u choose human u get pala....ne potm....and so on...but thats only fixed for them 1 heroes how do i make it, with triggers of course, that you get a random hero from that 1 race |
| 01-02-2004, 05:55 PM | #2 |
Couldnt you just generate a different random number depending upon what race you choose? Than have a unit type array and use Code:
create one unit of type <unit type variable>[<random int variable>] |
