[Scenario editor] Create object at location while location is occupied

Does anyone know how to avoid the issue of creating (or teleporting) an object at location while the location is occupied by another unit?

Normally what happens is the unit does not get created until the location is free.

I have an idea of creating some manual objects in area checks to try and find a free spot but i was wondering if there was something better way to solve this problem.

If you want to guarantee a unit to be placed somewhere specific, and you are willing to use garrisoning, you can always modify a objects garrison capacity and use create garrisoned object. (even if it’s full, they are created outside.)

If not, and you are willing to lose objects at the location, you can just remove/kill all objects at the location first. That is the only way I can think of doing it.

As for teleporting, I do not recommend that. Although, if you have to use this, make sure there is a 3x3 empty space/area where you are going to teleport to and it should work just fine.