HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Specifying Region Shown in Minimap

03-07-2009, 03:36 PM#1
fX_
If you've played Uther Party, you may have noticed that the minimap displays ONLY the region of the map the current minigame is being held in. How set what region is displayed in the minimap like in Uther Party?
03-07-2009, 07:43 PM#2
DioD
There are camera bounds to set.

But, you will need some "solid texture" for minimap (black box) othervise your minimap will display wierd mess.
03-08-2009, 01:37 AM#3
fX_
Collapse JASS:
call SetCameraBounds(PlayerData[INT_Index].rgn.rXMin, PlayerData[INT_Index].rgn.rYMin, PlayerData[INT_Index].rgn.rXMin, PlayerData[INT_Index].rgn.rYMax, PlayerData[INT_Index].rgn.rXMax, PlayerData[INT_Index].rgn.rYMax, PlayerData[INT_Index].rgn.rXMax, PlayerData[INT_Index].rgn.rYMin)

doesn't work for me. It sets th camera's position to the top left part of the map.