I have a list of 14 items that I use in method. I was wondering how I can make randomly pick different items from the list instead of forcing selecting by list number [0] etc. The code in the method is like this.
stats.list[0].clone ();
I need to it be something like..
stats.list[RANDOMNUMBER/DECISION].clone ();
My list code is like
list [0] = new Ped (names.getString("idc"), "C");
list [1] = new Ped (names.getString("id"), "D");
Thanks for ya help!