EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Target Raidmembers, possible or not ? (https://www.eq2interface.com/forums/showthread.php?t=12546)

saroiel 03-19-2009 04:16 PM

Target Raidmembers, possible or not ?
 
i try to make a button to target a raid member
My window is in Custom. I use in the button OnPress :

target Parent.Parent.Parent.MainHUD.Raid.Volume.Group2.Member2.Name.Text

is it correct ? ... my button don't work

is it possible to target a specific raid member ?

gm9 03-19-2009 04:20 PM

Seeing your server it might be impossible, you can't target them if they have non-US characters in their name. Otherwise it works but you have the path wrong (there should be no MainHUD in it for example)

EQAditu 03-19-2009 09:44 PM

Hmm, he said his window was in the Custom path... So to reference things in the raid window, he certainly would need to go upwards in the tree then downwards through MainHUD. It doesn't look like the DynamicData exposes raid member names to put it in his own window.

The path looks okay as far as the latter structure goes. As in "MainHUD.Raid.Volume.Group2.Member2.Name" is fine... I would just be careful about how many levels you go up when referencing 'Parent's. Try adding or removing some. Seems like you're using about the right amount... but it depends on your starting point.

gm9 03-19-2009 09:50 PM

Quote:

Originally Posted by EQAditu (Post 81554)
Hmm, he said his window was in the Custom path... So to reference things in the raid window, he certainly would need to go upwards in the tree then downwards through MainHUD.

If he goes up that far he is not referencing the dynamic version of the UI with the raid member names but only the version as it was loaded from disk. It is not of relevance that his window is in Custom as it will be merged into _HUD during runtime along with the other windows.

Drumstix42 03-20-2009 04:01 AM

Should just be able to take MainHUD out of the target line and it should work as long as the right amount of "parents" were referenced.

Using info from another window was last discussed here as I remember it:
http://www.eq2interface.com/forums/s...ad.php?t=11284


All times are GMT -5. The time now is 09:51 PM.

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