Thread Tools Display Modes
05-29-07, 09:51 AM   #1
thermitesnipes
A Murloc Raider
Join Date: May 2007
Posts: 8
Getting Mob coords possible?

Using the GetPlayerMapPosition() is it possible to Type in a Name of anything NPC/Player/Mob and get a rough estimate of its coords? I want to try to make this possible to hunt anything and get coords to it. I have it setup as a Edit Box that you can type in the name of unit, hit a button and itll register its coords in a text plane on the same UI. Just wonderin if anyone would like to experiment and help me out with something like this, even if itll just give me any player coords.

[Edit]: Also to get coords in an instance could one use a 100x100 plane and get coords registered by mathematically calculating your position in transition to the 100x100 plane?

[Edit]: Also another thing, is the closer mob's coords would be displayed and I would need help going about that. Or could expand UI to fit more slots for coords of different mobs, but I think that would take more coding than getting the job would need. also If Mob is dead nil coords and move on to next set.

Last edited by thermitesnipes : 05-29-07 at 10:06 AM.
  Reply With Quote
05-29-07, 10:25 AM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
If you haven't yet, read over this page: http://www.wowwiki.com/API_GetPlayerMapPosition
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
05-29-07, 10:29 AM   #3
thermitesnipes
A Murloc Raider
Join Date: May 2007
Posts: 8
I have but I wish to artificially create a coord system for instances based on a 100x100 square with a overlay map and a position based on where you start in the instance and how you move. as for the mobs being detected, I suppose you cant unless you apply a variable for "player" to read as Mob name but I dunno. Pooey.
  Reply With Quote
05-29-07, 10:42 AM   #4
Sajomatic
Deuce Interfaces
 
Sajomatic's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 66
You could see how MobMap does it ??

http://www-en.curse-gaming.com/downloads/details/7190/

Just trying to help
__________________
All Deuce UI - DeuceČ UI - Deuce Lite UI
Deuce Interfaces @ OSGamers.com
  Reply With Quote
05-29-07, 11:51 AM   #5
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
I believe MobMap works like a pre-compiled database.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
05-29-07, 12:54 PM   #6
Sajomatic
Deuce Interfaces
 
Sajomatic's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 66
Originally Posted by Seerah
I believe MobMap works like a pre-compiled database.

Ahh yes, QFT. It is a database.

And now that i re-read the questions, I see you are looking for a more dynamic type of detection.

Cool idea
__________________
All Deuce UI - DeuceČ UI - Deuce Lite UI
Deuce Interfaces @ OSGamers.com
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Getting Mob coords possible?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off