Hi,
Easiest way I see it is to make it a transport unit that can load units within 1 range.
You can get the loaded units from trigger and then you can teleport them.
That way you can also cancel the teleport when you right-clicked on it from far away.
0.947771274200811