Page 1 of 1

Location of Target

Posted: Tue Jun 07, 2005 10:05 pm
by Zigorn
is there a command if your targeting a npc, to know the loc of that target? trying to figure out locs of spawns so i can do search loc to find out where it is each time.

Posted: Tue Jun 07, 2005 10:16 pm
by Sym

Code: Select all


${Target.X}
${Target.Y}
${Target.Z}


Posted: Tue Jun 07, 2005 10:25 pm
by dont_know_at_all

Code: Select all

RRRRRRRRRRRRRRRRR   TTTTTTTTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFFFMMMMMMMM               MMMMMMMM
R::::::::::::::::R  T:::::::::::::::::::::TF::::::::::::::::::::FM:::::::M             M:::::::M
R::::::RRRRRR:::::R T:::::::::::::::::::::TF::::::::::::::::::::FM::::::::M           M::::::::M
RR:::::R     R:::::RT:::::TT:::::::TT:::::TFF::::::FFFFFFFFF::::FM:::::::::M         M:::::::::M
  R::::R     R:::::RTTTTTT  T:::::T  TTTTTT  F:::::F       FFFFFFM::::::::::M       M::::::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M:::::::::::M     M:::::::::::M
  R::::RRRRRR:::::R         T:::::T          F::::::FFFFFFFFFF   M:::::::M::::M   M::::M:::::::M
  R:::::::::::::RR          T:::::T          F:::::::::::::::F   M::::::M M::::M M::::M M::::::M
  R::::RRRRRR:::::R         T:::::T          F:::::::::::::::F   M::::::M  M::::M::::M  M::::::M
  R::::R     R:::::R        T:::::T          F::::::FFFFFFFFFF   M::::::M   M:::::::M   M::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M::::::M    M:::::M    M::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M::::::M     MMMMM     M::::::M
RR:::::R     R:::::R      TT:::::::TT      FF:::::::FF           M::::::M               M::::::M
R::::::R     R:::::R      T:::::::::T      F::::::::FF           M::::::M               M::::::M
R::::::R     R:::::R      T:::::::::T      F::::::::FF           M::::::M               M::::::M
RRRRRRRR     RRRRRRR      TTTTTTTTTTT      FFFFFFFFFFF           MMMMMMMM               MMMMMMMM       

Posted: Wed Jun 08, 2005 12:34 am
by Frank25
dont_know_at_all wrote:

Code: Select all

RRRRRRRRRRRRRRRRR   TTTTTTTTTTTTTTTTTTTTTTTFFFFFFFFFFFFFFFFFFFFFFMMMMMMMM               MMMMMMMM
R::::::::::::::::R  T:::::::::::::::::::::TF::::::::::::::::::::FM:::::::M             M:::::::M
R::::::RRRRRR:::::R T:::::::::::::::::::::TF::::::::::::::::::::FM::::::::M           M::::::::M
RR:::::R     R:::::RT:::::TT:::::::TT:::::TFF::::::FFFFFFFFF::::FM:::::::::M         M:::::::::M
  R::::R     R:::::RTTTTTT  T:::::T  TTTTTT  F:::::F       FFFFFFM::::::::::M       M::::::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M:::::::::::M     M:::::::::::M
  R::::RRRRRR:::::R         T:::::T          F::::::FFFFFFFFFF   M:::::::M::::M   M::::M:::::::M
  R:::::::::::::RR          T:::::T          F:::::::::::::::F   M::::::M M::::M M::::M M::::::M
  R::::RRRRRR:::::R         T:::::T          F:::::::::::::::F   M::::::M  M::::M::::M  M::::::M
  R::::R     R:::::R        T:::::T          F::::::FFFFFFFFFF   M::::::M   M:::::::M   M::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M::::::M    M:::::M    M::::::M
  R::::R     R:::::R        T:::::T          F:::::F             M::::::M     MMMMM     M::::::M
RR:::::R     R:::::R      TT:::::::TT      FF:::::::FF           M::::::M               M::::::M
R::::::R     R:::::R      T:::::::::T      F::::::::FF           M::::::M               M::::::M
R::::::R     R:::::R      T:::::::::T      F::::::::FF           M::::::M               M::::::M
RRRRRRRR     RRRRRRR      TTTTTTTTTTT      FFFFFFFFFFF           MMMMMMMM               MMMMMMMM       
That's so beautifull i had to quote it

Posted: Wed Jun 08, 2005 2:18 am
by wassup
Sym wrote:

Code: Select all


${Target.X}
${Target.Y}
${Target.Z}

Don't think I would use that method myself...

Posted: Wed Jun 08, 2005 1:37 pm
by Night Hawk

Code: Select all

{$If[${String[${Target.Type}].Equal["NPC"]},${Target.Y} ${Target.X} ${Target.Z},]}
Could put that in your MQ2Hud. Also, I put YXZ cause I'm pretty sure that's the order it is instead of XYZ. Correct me if I'm wrong.

Posted: Wed Jun 08, 2005 2:35 pm
by adesheer
Yep, for some stupid reason EQ Devs decided YXZ is better than the reg XYZ..

Posted: Wed Jun 08, 2005 3:44 pm
by Lax
To tell you the truth, it was MQ devs not EQ devs that called it YXZ. EQ devs probably do call it XYZ. EQ's coordinate system is not traditional where X would be east/west and Y north/south with Z up/down. Instead it's more like .. X is north/south, Y is west/east (west being positive), Z is up/down. I argued about this with the devs some time ago and had it simply X Y Z when the MQ2Data system was implemented, but ended up putting it back to Y X Z simply because thats how it always was with MQ.

Posted: Thu Jun 09, 2005 5:03 pm
by papanuget
/wheret

Posted: Thu Jun 09, 2005 5:13 pm
by wassup
Night Hawk wrote:

Code: Select all

{$If[${String[${Target.Type}].Equal["NPC"]},${Target.Y} ${Target.X} ${Target.Z},]}
Why convert a string to a string?

Use this instead:

Code: Select all

{$If[${Target.Type.Equal[NPC]},${Target.Y} ${Target.X} ${Target.Z},]}

Posted: Fri Jun 10, 2005 12:27 am
by MacroFiend
I tried explaining the coordinate system of EQ once before ... don't think it stuck but I'll try again.

EQ locations are based on a cartographical notation lat, long, alt which on a geometric x/y/z plane would equate to Y, X, Z.

Posted: Fri Jun 10, 2005 5:02 am
by Lax
Then why is east/west reversed?

regardless, what the hell is this post doing in the general forum instead of the help forum?

locking.