Hello guys,
I'm trying to make a fuction wich place buildings at specific location, but somehow my function are not working properly, so i need some hand to figure out.
This code should count how many Depos are, and return a position where to build the next depo forming a kind of matrix.
Here's a SS of what is happening.
Some times, SVC can't figure out a valid path to build but the coordinates are 100% accurate, but if i manually low and up my depos some how SVC find the correct way and build the next depo, but if i didn't low/up the depo it just stucks and stop to build depos.
So what's wrong here?
Hello guys, I'm trying to make a fuction wich place buildings at specific location, but somehow my function are not working properly, so i need some hand to figure out.
This code should count how many Depos are, and return a position where to build the next depo forming a kind of matrix.
Here's a SS of what is happening. Some times, SVC can't figure out a valid path to build but the coordinates are 100% accurate, but if i manually low and up my depos some how SVC find the correct way and build the next depo, but if i didn't low/up the depo it just stucks and stop to build depos. So what's wrong here?