Question - /target etiquette

jimmy6154

Well-known member
Joined
Mar 12, 2019
RedCents
1,973¢
What is the /target etiquette? I've made a handful of things and while its so easy to /target "name", I think that is frowned upon due targeting un-targetable mobs, no LOS, etc. So just curious what I should do in most situations.


Something like?

/nav locyx ${NearestSpawn[npc radius 100].Y} ${NearestSpawn[npc radius 100].X} /target ${NearestSpawn[npc radius 20]} /if (${Target.LineOfSight}) { .... }

or something like?

/if (${Me.XTarget[1].ID} && ${Me.XTarget[1].LineOfSight}) { /nav spawn npc ${Spawn[${Me.XTarget[1].ID}]} /xtarget target 1 ...... }

or if I know I'm in LOS and the target is right in front of me, would just a /target "name" suffice? (TOV Seeking the Sorcerer mission 1st mob for example)
 
LOS is always going to be a best bet. Avoid /target "name" always.
 
What is the /target etiquette? I've made a handful of things and while its so easy to /target "name", I think that is frowned upon due targeting un-targetable mobs, no LOS, etc. So just curious what I should do in most situations.


Something like?

/nav locyx ${NearestSpawn[npc radius 100].Y} ${NearestSpawn[npc radius 100].X} /target ${NearestSpawn[npc radius 20]} /if (${Target.LineOfSight}) { .... }

or something like?

/if (${Me.XTarget[1].ID} && ${Me.XTarget[1].LineOfSight}) { /nav spawn npc ${Spawn[${Me.XTarget[1].ID}]} /xtarget target 1 ...... }

or if I know I'm in LOS and the target is right in front of me, would just a /target "name" suffice? (TOV Seeking the Sorcerer mission 1st mob for example)
You can simplify as the Spawn Search keywords include los
<https://docs.macroquest.org/reference/general/spawn-search/?h=spawn+search>

/nav locyx ${NearestSpawn[npc radius 100 los].Y} ${NearestSpawn[npc radius 100 los].X} /target ${NearestSpawn[npc radius 20 los]}

Err something like that... I don't macro, so ymmv
 
Question - /target etiquette

Users who are viewing this thread

Back
Top
Cart