Originally Posted by p3lim
Those 50 addons that does this already, i belive, reads the minimap
|
Figured as much but still didn't know what to look for while scanning through their code. So asked here instead
.
Originally Posted by Akryn
Code:
local facing
if GetCVar("rotateMinimap") == "0" then
facing = select(49,Minimap:GetChildren()):GetFacing()
else
facing = MiniMapCompassRing:GetFacing()
end
you can get the camera's position relative to the player's facing with SaveView(index) and then reading the associated cvar which i don't remember :P
|
Ok thanks a lot, will try it out a.s.a.p.
!