ClassicThunder
Prince
- Joined
- Sep 15, 2006
- Messages
- 511
I've been using this line of code to generate random plots
However its been causing infinite loops. At 10 it nearly inf loops every time, and at 8 it loops occasionally. However there is space fufiling the requirements that I can see using the world builder. Any suggestions on avoiding the inf loop and keeping my units 10 spaces apart without making my own rand plot generator?
Code:
CyMap().syncRandPlot( (1 | 5 | 6), area, 10, 9999)
However its been causing infinite loops. At 10 it nearly inf loops every time, and at 8 it loops occasionally. However there is space fufiling the requirements that I can see using the world builder. Any suggestions on avoiding the inf loop and keeping my units 10 spaces apart without making my own rand plot generator?