Quantcast WoWInterface - View Single Post - New/changed in build 26522.
View Single Post
05-02-18, 04:54 PM   #7
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 350
Originally Posted by Seerah View Post
Can't you just do this?
Lua Code:
  1. if C_Map.GetBestMapForUnit("player") == C_Map.GetBestMapForUnit("party1") then
  2. .......
Yes, that was sorta my point: there's no logical reason to pass in different units.

The method to get x, y coords...feels like congress designed it. It works, but I cringe every time I see the code, even with pointers into C_Map.
__________________
AddonsExecutive Assistant User Configurable To-Do ListLegible Mail Choose the Font for Your Mail
  Reply With Quote