Originally Posted by VincentSDSH
Convention of uiMapID being the first parameter? I can't explain it. It's not like you're going to
x, y = C_Map.GetPlayerMapPosition( C_Map.GetBestMapForUnit("player"), "party1"):GetXY()
That'd be a damned weird way to ask "is party1 in the same zone I am?"
|
Can't you just do this?
Lua Code:
if C_Map.GetBestMapForUnit("player") == C_Map.GetBestMapForUnit("party1") then
.......