I'm having some issues with FindClosestBuildSite and IsPossibleToBuildAt.
What happens is that those 2 functions are saying a particular position is buildable, but when the build order is given to the constructor unit, the constructor just stands there and won't make the building.
It only happens in specific situations it seems, I can reproduce it on one particular map however. The map is Comet Catcher Remake v02, and it's in the bottom left start position. There's a small hill near where the AI starts, it attemps to build the aircraft factory near to that hill.
Any suggestions on what I may be doing wrong?
Edit: I think this issue is a bit different to the one I was having before, as before it was trying to chuck buildings on top of each other.
I encountered the issue in Ntai of building failing because the builder itself blocked the position.
A quick solution is to offset the build location in a random direction by the largest dimension of the builders footprint, or a set value, so the search would fine the position next to the builder, nit the position of the builder itself, dramatically increasing the chances if the builder simply moving out of the way
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum