EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-19-2009, 04:16 PM
saroiel saroiel is offline
A Darkpaw Brute
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Server: Storms
Posts: 44
Default 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 ?
__________________

Final Heroes of Pegasus on STORMS Server (Fr)
Reply With Quote
  #2  
Unread 03-19-2009, 04:20 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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)
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #3  
Unread 03-19-2009, 09:44 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

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.
Reply With Quote
  #4  
Unread 03-19-2009, 09:50 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by EQAditu View Post
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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #5  
Unread 03-20-2009, 04:01 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

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
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:33 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI