I am trying to figure out how to do this trigger and I can't figure it out.
Basically, I want to make it so that a Road can only be build next to another road, and that a Wall can only be build next to another wall and within 800 distance from the Town Hall.
How do I set up a trigger to do this? I was told once that it was a simple trigger, detecting distance from another unit of the same type, and then refunding the gold spent if the distance is too far. But I can't figure out what that stupid trigger should look like!!!!!!
Can anyone help pls? tyvm
