EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Target commands for raid groups (https://www.eq2interface.com/forums/showthread.php?t=6814)

Celestian 10-03-2006 02:21 PM

Target commands for raid groups
 
I am trying to figure out how to target specific people in a raid. Example would be target member 2 in raid group 3. I only know of the target_group_member # (where # is 0-5) for groups but not know of one for a raid.

Is this possible? I plan to use this to alter the way the raid menu works so that if you click a player name more than once you don't get their pet. I tend to "spam" click a raid window to get a player on target but if they have any pet at all I get that. I want to do what I did with my group menu and change it so I target_none then target the player.... this should also allow me to click to heal/ward/reactive properly as well to.

Landiin 10-03-2006 04:05 PM

I don't know of any command that will target people in other groups in a raid. Type /target then hit the tab in game and see what all commands it list. Maybe there is one.

gm9 10-03-2006 04:45 PM

/target <playername> is what I use, there may be others

Celestian 10-03-2006 05:18 PM

Quote:

Originally Posted by gm9
/target <playername> is what I use, there may be others

I guess I could do that by stuffing the player name into a var and then perform the "target_none; target VAR" on the button object when clicked/pushed.

Arremis 10-03-2006 09:36 PM

Me, I just click on their name in the Raid Window. Remembur, playeen EeeKyewToo impruvs yor tiepeen skilz and maykz yew seam mowr smartur :)

Arre :D

Celestian 10-06-2006 09:36 PM

Quote:

Originally Posted by Arremis
Me, I just click on their name in the Raid Window. Remembur, playeen EeeKyewToo impruvs yor tiepeen skilz and maykz yew seam mowr smartur :)

Arre :D

I can click the person just fine really but clicking on them twice causes me to get their pet if they have one.

I just wanted a more precise way to make sure I got the player and not his pet no matter how much lag I was getting. I want to do the same what the click to cure works UI mod I use.

Unfortunately my method of stuffing the name into a var then targetPC Name didn't work.

lordebon 10-06-2006 10:54 PM

Hmm...

Generally for raiding, I have a macro where I just have /target <Main Tank's Name>

I edit it for each raid (and for each group, sometimes). If theres a particular need for me to target / heal someone else (I'm a healer... if I was DPS I would use the MA's name) I just make a second version of the macro and put it on my "raiding" hotbar (its a hotbar I only open up during raids -- containing whatever additional raiding macros I need -- be it calls to go in/out for jousting, or extra target macros like I've mentioned).

I don't think theres gamedata for the raid window, I think it's hard-coded (which sucks... correct me if im wrong, I didn't see it in eq2ui_gamedata.xml). If there was gamedata for each person, you could create a button with

"target " ## <Gamedata path to playername>

as the OnPress event (or add a second line to cure, if you want to get more technical).

Celestian 10-09-2006 04:58 PM

Yeah, I wanted to do what I do on my group menu with the raid menu... sorta like this:

OnPress="
target_none
target_group_member 0
useability Putrid Balm"

That keeps me from ever targeting the players pet by double clicking their "quick heal" button I have on the group menu.

gm9 10-09-2006 05:03 PM

There is no DynamicData for the raid membes, but you should still be able to grab their names from the raid window so that will not be a problem. Since quite some people like to name their pets after themselves to easier see their total dps in a parser targeting by name is not perfect either, however.

Celestian 10-14-2006 08:36 PM

I have been trying to use the following on a button OnPress in the raid menu:
---------------------
Parent.WardButton.sPlayerName=Parent.Parent.Parent.Parent.Parent.Parent.Target.v 0.Name.LocalText
target_none
target Parent.WardButton.sPlayerName
useability Malignant Shroud
---------------------

The problem is that when I press the button it will say no target avaliable even if the target is there. It's like it's trying to cast the spell before the target command is given.

If I remove the target_none if you click the button twice you will get the person's pet if they have one. I am trying to avoid that... I used similar commands in the group UI and it works fine... well I use target_group_member there however.

Any suggestions on how to resolve this?

gm9 11-22-2006 04:25 AM

This is what I came up with for the 3.x line of ProfitUI to effectively prevent pets from being targeted:
OnHoverIn="target_allow_pet_member_toggle 0" OnHoverOut="target_allow_pet_member_toggle 1" OnPress="useability Cure Trauma
target_previous"
To cure yourself use the command target_allow_self_pet_toggle instead.

Anyone feel free to use that code. :)

lordebon 11-22-2006 11:44 AM

Oh very tricky you =)

I didn't even know those commands existed, very nicely done =)

mr.wolfie 08-25-2007 06:16 AM

I was looking at a click to cure group window, and was inserting the target_previous command that it didn't have, when I wondered:

You can "/useability Cure Arcane target=nameofcharacter" can't you?
Would it be possible to get the groupmember's name from some sort of dynamicdata and issue an onpress command that wouldn't switch target at all during the casting like this:
(excuse my awful hamfisted stab at an example)

OnPress="useability Cure Arcane target=groupmember1'scharactername"

If so, what would be the correct syntax?
And would there be any drawbacks (with the pet thing for example?)

Cheers!


All times are GMT -5. The time now is 02:00 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI