well, you aren't using it in your example, you have the triggers set up but, you aren't having it be used for buildings you should add a check like this,
if (Picked Unit) is a structure = true then
Custom Script: call SetUnitX(Picked Unit, GetUnitX(PickedUnit))
etc...
of course you would want to set picked unit to a variable, for effeciency