Page 1 of 1
Choosing random players from the ground
Posted: 2005-02-04 20:32:27
by korupt
Lets say you have 10 ppl in a 3x3 square and you want to select those 10 ppl randomly how would you do?
Posted: 2005-02-05 09:48:56
by Yoko
- create array for serials (size 200 or more)
- seek for human
- if found:
- ignore finditem
- check is he in square
- if yes add in array
- repeat search - now use uo.random to get random object from created array