• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - Range Finder Question?

Sinn69

Member
is there a mq command to find a range from yourself to a targetable mob/item? if so what is that command please.
 
You could always use MQ2Hud as well. I've attached the HUD I use the most.

Rich (BB code):
[Full]
;Player info:
;----------------
myinfos=3,156,5,155,52,50,~~Player~~
Myname=3,136,15,255,255,255,${Me.Name}
mylvl=3,136,25,155,122,50,Level: ${Me.Level} 
hpmaen=3,136,35,155,122,50,H:${Me.PctHPs} M:${Me.PctMana} E:${Me.PctEndurance}
myXP=3,136,45,200,255,255,XP : ${Me.PctExp}% 
meAAExp=3,136,55,200,150,0,AA: ${Me.AAPointsTotal}   Free: ${Me.AAPoints} 
meAApct=3,228,55,200,150,0,${Int[${Math.Calc[(100-(100.00-${Me.PctAAExp}))]}]}%
myLoc=3,136,65,0,210,100,Loc: ${Me.Y}   ${Me.X}   ${Me.Z}
FHP=3,5,35,000,255,000,Full HP in  - ${Int[${Math.Calc[(${Me.MaxHPs}-${Me.CurrentHPs})/(${Me.HPRegen}|1)/10]}]}m${Int[${Math.Calc[(${Me.MaxHPs}-${Me.CurrentHPs})/(${Me.HPRegen}|1)%10*6]}]}s
FM=3,5,45,000,255,000,Full Mana in  - ${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)/10]}]}m${Int[${Math.Calc[(${Me.MaxMana}-${Me.CurrentMana})/(${Me.ManaRegen}|1)%10*6]}]}s
state=3,5,55,25,255,0,You Are: 
State2=3,55,55,0,240,240,${Me.State}ING

;Target info:
;----------------
Target=3,300,5,155,52,50,~~Target~~
Tname=3,280,15,255,255,255,${If[${Target.ID},${Target.CleanName},]} 
tlvl=3,280,25,155,122,50,${If[${Target.ID},Level: ${Target.Level}   HP: ${Target.PctHPs},]}
tclass=3,280,35,155,122,50,${If[${Target.ID},Class: ${Target.Class},]}
TLoc=3,280,45,0,210,100,${If[${Target.ID},Loc: ${Target.X}   ${Target.Y}   ${Target.Z},]}
LoStext=3,280,55,0,210,100,${If[${Target.ID},LoS / Distance :,]} 
LoSinfoF=3,370,55,255,234,8,${If[${Target.ID},${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Target.Y},${Target.X},${Target.Z}]} / ${Target.Distance},]} 
TDirect=3,300,65,200,150,0,${If[${Target.ID}==NULL,"",${If[${Math.Calc[((${Me.Heading.Degrees}-${Target.HeadingTo.Degrees}+375)%360)*-1]}>-30,"Straight Ahead",${If[${Math.Calc[((${Me.Heading.Degrees}-${Target.HeadingTo.Degrees}+360)%360)*-1]}>-180,"To your left","To your right"]}]}]}
 
Question - Range Finder Question?

Users who are viewing this thread

Back
Top
Cart