Ah, I see, well as for a possible place to start looking for the code to bump infantry, you can look at the map script for spawning buildings on a map via triggers. it may lead to what you guys need.
The map script bumps units, destroys buildings and erases overlay. For obvious reasons It cannot guaruntee flat terrain, so I agree with the idea posed in the other issue - forcing same foundation on rubble rebuilds
Ah, I see, well as for a possible place to start looking for the code to bump infantry, you can look at the map script for spawning buildings on a map via triggers. it may lead to what you guys need.
The map script bumps units, destroys buildings and erases overlay. For obvious reasons It cannot guaruntee flat terrain, so I agree with the idea posed in the other issue - forcing same foundation on rubble rebuilds
(BTW That anon post was me)