get targ X Y cords menu

User Tag List

Results 1 to 3 of 3
  1. #1
    LMandark's Avatar Private
    Reputation
    1
    Join Date
    Aug 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    get targ X Y cords

    is there a way to get a targets XY position in lua?
    like something similar to
    posX, posY = GetPlayerMapPosition("unit");
    is there a way to use it for say NPCs?
    if not, is there a way around it that i can use in lua?

    get targ X Y cords
  2. #2
    firepong's Avatar Elite User
    Reputation
    384
    Join Date
    Jan 2008
    Posts
    955
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If your using PQRotation, yes. If your just wanting it for a macro, I have no earthly idea. I don't touch macro's, even with a 50yard stick.

    For example, in PQRotation:
    Code:
    local x1 , y1 = select(1,PQR_UnitInfo("Target")), select(2,PQR_UnitInfo("Target"))
    Where PQR_UnitInfo(unit) returns:
    Code:
    1. X position
    2. Y position
    3. Z position
    4. Distance
    5. Faction ID
    6. Suppose to be UnitGUID, but some part of the code is wrong and reporting all 0's (I believe, might be wrong)
    Last edited by firepong; 08-09-2012 at 12:31 AM.

  3. #3
    LMandark's Avatar Private
    Reputation
    1
    Join Date
    Aug 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i use PQRotation as if it were a regular addon?

Similar Threads

  1. Guide Getting to Gm Box Under Gm Island Cords
    By TripZone in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 03-14-2008, 11:07 PM
  2. Get your first mount in WoW easily
    By Matt in forum World of Warcraft Guides
    Replies: 3
    Last Post: 11-03-2006, 09:46 PM
  3. Where can i get a Cord mod/plugin?
    By Mike3667 in forum World of Warcraft General
    Replies: 1
    Last Post: 09-09-2006, 07:20 PM
  4. Get on to where the Auction house people are!
    By janzi9 in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 03-06-2006, 11:44 PM
  5. Getting into BG with that pesky deserters buff!
    By janzi9 in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 03-06-2006, 11:35 PM
All times are GMT -5. The time now is 08:21 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search