spelltwister
Programmer
Hello,
Here's the problem. I have a multidimensional array that has typical data of:
{"infantry","infantry","knight"
7 , 4 , 2
"poland" ,"german" ,"russian" }
I need to be able to randomly select a unit by the first field, "type". Is there a way to do this? Thanks so much for help on the problem.
Here's the problem. I have a multidimensional array that has typical data of:
{"infantry","infantry","knight"
7 , 4 , 2
"poland" ,"german" ,"russian" }
I need to be able to randomly select a unit by the first field, "type". Is there a way to do this? Thanks so much for help on the problem.