Thanks to you both XD I felt like I was going to use the setting cordinates to X's and Y's. I thought about trying it but decided to just hold off and ask THW :3
Edit:
Pm'd Icemanbo but didn't get a reply so ill just ask on here, How do i use this script? I've used set x and set y before, but i dont remember what i did. So:
constant native GetUnitX takes unit whichUnit returns real
Would this be valid?
constant native GetUnitX takes unit TempUnit returns TempReal
Then when using set unit i would replace the real with TempReal right? I think there are GUI actions for getting a unit's x and y.
Edit 2: Im using the Set X and Y properly, but when i use this, it does nothing. "native SetUnitX takes unit DummyUnit, real TempReal returns nothing " which tempreal being the x. so what gives?