thanks mate. even thought i am clearly doing something wrong....somewhere with the "Regenerate obstacle map" i didnt get where should i use that, and then the rest, i have achieved pretty much the result i wanted. is just that is not instant,i mean some units that where already moving or some that they have been spawn pass through the solid objects and take a while for the next to "see them" and properly work.
also because that idea fills a bit not good for my game, i want to simplify things
and make the solid objects drag and drop Only before you "start the timer" and then do the spawn and since it will not be dragable i dont have to worry about the issues we talked before.
enable and disable drag and drop is easy.
but to my suprize this consept works the 1st time i run the layout
and never again on the other attempts
to stop the layout and reset it i use a button that does the following:
imgur.com/a/iWxj5Oq
but the solid objects now in a new location when the timer starts again is not reading new paths!?
why? the path reading takes place after the unite is created, so it should do it like it did in the 1st times.
very weird. i am must be missing something, that i need to "reset" to make the button actually tell the entire layout to behave that this is like i press f5 for the 1st time.