• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Question - Having issues using XTarget

Joined
Mar 11, 2017
RedCents
30¢
Howdy guys, I have been working on mycmd and in it I use XTarget. I am getting some random issues popping up. I have been using ${Spawn[${Me.XTarget[1]}].ID} to get the mob id in the first XTarget slot.

The issues that I am seeing during my testing is I will have two mobs in my extended targets.

${Spawn[${Me.XTarget[1]}].ID} to get the first slot mob id - ID 4358 - Mob Name in XTarget Window - a temple patroller
${Spawn[${Me.XTarget[2]}].ID} - ID 4358 - Mob Name in XTarget Window - a temple patroller

When I kill off a mob and only 1 mob is in XTarget it will correctly return 0 as the ID for XTarget slot 2.

Anyone have any ideas as to what I am doing wrong?

EDIT * I forgot to add that these XTarget slots are set to Auto and are two different mobs.
 
Last edited:
I found the issue. Upon further testing, I was able to narrow down the above mentioned issue where the XTarget slot 1 id is the same as the XTarget slot 2 id. I noticed that this was occurring when there were two of the same named mobs in the XTarget window. I was able to stop this from happening by just using ${Me.XTarget[1].ID}. This returned the proper ID each time.
 
Question - Having issues using XTarget

Users who are viewing this thread

Back
Top
Cart