I'm not sure how to make a mini-map like in starcraft - and before you mention the mini-map object, what I mean is a map that I can click on, that will cause a layer to scroll to that location. This is probably a really easy question but for some reason I can't come up with a solution.
The reason is that I have the map on a non-scrolling layer and the main window on a scrolling layer, and mouseX/Y always returns the result for the scrolling layer, so mouseX/Y is useless in this case.
I also can't place objects at the mouse location on the non-scrolling hud layer because the x/y is different than the scrolling layer.
Perhaps a parameter like mouseX(layernumber) would help in situations like this? (Though it would be best if it were mouseX(1) when it first appeared, because that's what most people will be using it on, so they wouldn't have to select "layernumber" and edit it every time. Then it would still work as normal, with extra precision if needed.)
Though if there's a way to work around this, that would be great too.