Prevent buildings from automatically attacking heroes on sight

When working in custom scenarios, is there a way of preventing enemy buildings (i.e. castles and towers) from attacking heroes on sight? Specifically, Furious the Monkey Boy and Ornlu The Wolf. Enemy units do not automatically attack them, but buildings do.

In original Age of Empires II scenarios, enemy buildings would not automatically attack them on sight. You could use this to you advantage to penetrate enemy lines and destroy their buildings. Enemy players do are able to manually target the unit and kill it, though.

I tried looking around triggers to see if there was a way to prevent this, but could not see anything. The closest was the Disable Unit Targeting, but I could not get it to work.

Any help is appreciated!