I have figured it out( the window),first i have to created the buttons and units as a generated global,then saving the distance and angle of the doodads and units from the camera center.
When activated,ill just put a loop then create one for a player,move doodads and units by the x and y of the camera and voila.
Does GetCameraX and GetCameraY exist?If it does then it will work