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?
