Hmm, I can understand why that might be desirable since there is no DynamicData to get raid member names. But useabilityonplayer requires a real name anyways.
The only way I can think of doing this is to reference a name label from within the raid window during run-time by going upwards in the node tree from your window and down through the raid window.
As I remember the node paths above your own window at run-time is a flat list and not a branching tree as one would expect by reading the XML files.
_HUD.Raid.Volume.Group1.Member1.Basic.Name.FullName might get you the name of G1 M1. I haven't tried an absolute path like that lately, so it may be incorrect. You might want to try using Parent.Parent.Raid.etc to reference the node using a relative path. Just get the number of Parent nodes straight.
This won't really work if the member you're referencing is dead or zoned out of course. So you might have to get hackish and try casting on more than one. I read that useability type commands won't queue if something is already casting, so it won't spam the server anyways.
PS. This is more of a "UI Developer Discussion" thread.
|