skyblader
You're living only because it's illegal killing.
- Reaction score
- 159
[Solved]Creating units randomly in the map
I think it's possible, but is there a simple way to do this? The idea in my head seems unnecessarily long o.o
I was thinking creating the amount of units i want, then set a random point in region, set another random point, check if the region is within ___ range of the other, otherwise set another point within ___ range. It's endless isn't it.
The idea is, create ___ amount of units randomly in the map, and each cannot be too near to each other.
[SOLVED]
I think it's possible, but is there a simple way to do this? The idea in my head seems unnecessarily long o.o
I was thinking creating the amount of units i want, then set a random point in region, set another random point, check if the region is within ___ range of the other, otherwise set another point within ___ range. It's endless isn't it.
The idea is, create ___ amount of units randomly in the map, and each cannot be too near to each other.