In my map you can deactivate and reactivate buildings (stops them from spawning units periodically). How this works is an ability is cast, then a trigger is fired that uses 'Replace Unit' to change to a Unit Type 'Deactivated Unit', and vice versa for Reactivate.
The problem is if there is an enemy unit standing on the building (common in this map) and you cast it, the building will move places to avoid collision.
Any ideas for a fix? Using upgrade unit instead of replace unit works but isn't feasible because of the number of buildings. There is no way to add a building upgrade using a trigger is there?
The problem is if there is an enemy unit standing on the building (common in this map) and you cast it, the building will move places to avoid collision.
Any ideas for a fix? Using upgrade unit instead of replace unit works but isn't feasible because of the number of buildings. There is no way to add a building upgrade using a trigger is there?