Oh yeah I get what you mean but you only have to change the following lines for this:

Code:
Minimap_cave_pan.pos_x = 56; 
Minimap_cave_pan.pos_y = 0;



to something more complicated. I quess you could adds some If's before this that check if the x of vector player is bigger or smaller than the x of vector vector_landmarkCave, and that check if the y of vector player is bigger or smaller than the y of vector vector_landmarkCave. This way you can get a basic idea which direction the landmark is from the player. Than place the icon landmark panel according to these results on the minimap. E.g. like this:

Code:
If (player.x > vector_landmarkCave.x) Minimap_cave_pan.pos_x = 0; 
If (player.x < vector_landmarkCave.x) Minimap_cave_pan.pos_x = 112; 
If (player.y > vector_landmarkCave.y) Minimap_cave_pan.pos_y = 0; 
If (player.y < vector_landmarkCave.y) Minimap_cave_pan.pos_y = 112;



Anyway you're welcome.

Last edited by Reconnoiter; 07/09/13 14:30.