Page 1 of 1
Weird Minimap Issue [Solved]
Posted: Sun Mar 28, 2010 12:11 pm
by theultimat
Ok, I put a minimap into my map, but, for some reason, the map is reflected on pressing the M key. For an example of what I mean, look at the minimap in the HUD:
Notice how you are facing away from the huts, which it correct. Then, when I press the M key to open the map, it is reflected (unit facing the wrong way):
Does anyone know why this would happen, and is there a fix?
Thanks.
Re: Weird Minimap Issue
Posted: Sun Mar 28, 2010 1:26 pm
by Teancum
Is SetMapNorthAngle() used at all in your lua?
Re: Weird Minimap Issue
Posted: Sun Mar 28, 2010 3:55 pm
by theultimat
No, it isn't. Should it be used?
Re: Weird Minimap Issue
Posted: Sun Mar 28, 2010 7:37 pm
by Teancum
You might try it. I *think* that's what it's used for. Check the Jedi Temple lua for an example.
Re: Weird Minimap Issue
Posted: Mon Mar 29, 2010 12:36 pm
by theultimat
Nope, no matter what I set the numbers to the problem remains. It's almost like your unit's arrow on the map when zoomed in is facing the wrong way.
Re: Weird Minimap Issue
Posted: Mon Mar 29, 2010 1:01 pm
by AQT
I'm not sure why that is happening but, it's worth a try, is the base of your mapbounds region a square? If it is, nevermind then.
Re: Weird Minimap Issue
Posted: Mon Mar 29, 2010 1:02 pm
by theultimat
Yeah, it is indeed. Thanks for all the ideas so far guys.
EDIT:
Haha, just as well you asked that AQT. I went in to ZE to make sure it was a square, it was, but then I looked at the region from the side, and it turned out to be at about 30 degrees. I put it back on to 0 and the problem disappeared. I must've accidentally rotated it at some point. Sorry about that, an error on my part.
Thanks anyway.
