Req: simple HUD "tracking" indicator
Posted: Tue Jul 20, 2004 4:12 pm
I currently have code like this in my MQ2HUD.ini to do simple spawn tracking.
This works fine, but I'd like to have an arrow giving the direction of the mob (<-- and --> would be fine) to replace or augment the compass heading.
I did some forum searching, and it seems that HeadingTo used to be numeric but was "dumbed down" a bit to its current state. I could compute the angle manually but I'd rather not have that much math in what's supposed to be a simple .ini file. :) Anybody have an easier suggestion, or perhaps a dev could add a HeadingToLR or somesuch data type (the tracking plugin already has the code) in a future release?
Code: Select all
;Track nearest named spawns with heading/name
Spawn1=3,8,220,255,255,0,${If[${NearestSpawn[1,npc named].Name.NotEqual["NULL"]},${NearestSpawn[1,npc named].HeadingTo} - ${NearestSpawn[1,npc named].CleanName},No Named]}
Spawn2=3,8,234,255,255,0,${If[${NearestSpawn[2,npc named].Name.NotEqual["NULL"]},${NearestSpawn[2,npc named].HeadingTo} - ${NearestSpawn[2,npc named].CleanName},No Named]}
I did some forum searching, and it seems that HeadingTo used to be numeric but was "dumbed down" a bit to its current state. I could compute the angle manually but I'd rather not have that much math in what's supposed to be a simple .ini file. :) Anybody have an easier suggestion, or perhaps a dev could add a HeadingToLR or somesuch data type (the tracking plugin already has the code) in a future release?