EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Group window Question (https://www.eq2interface.com/forums/showthread.php?t=9024)

lordebon 09-02-2007 09:27 PM

Group window Question
 
What attribute makes clicking the group window target that particular person?

I'm trying to make a useabilityonplayer click-cure, but that doesn't help because the click-cures are located _inside_ the individual player page (and based on their naming and lack of pointing to some kind of gamedata, I'm thinking they need to remain there to function properly) and clicking on them switches targets to that groupmember.

Is there some way to prevent that from happening?

Thanks,

Landiin 09-02-2007 11:33 PM

You have to put them outside the GroupMemberX page. That way when the user clicks on them the hard coding of the GroupMemberX page does not change the target to that group member.

lordebon 09-03-2007 07:52 AM

Quote:

Originally Posted by Landiin (Post 62083)
You have to put them outside the GroupMemberX page. That way when the user clicks on them the hard coding of the GroupMemberX page does not change the target to that group member.

Right, that's what I was figuring.

But then how do I move the little effects (the truama/elemental/whatever) icons that pop up out of that page? I don't know enough about the way the effects work... but I was wondering if I could keep a set inside the groupmember page, but make them nonvisible (ie move them out of the visible area of the page) and then trigger some kind of script on them to trigger the same effect outside the groupmember page? And then use another script to hide it... something like OnActivate and OnDeactivate perhaps to toggle the visible flag.

If that'll work, what properties can I add to the hidden GroupMemberN page versions to toggle the visibility of the outside ones?

gm9 09-03-2007 07:57 AM

Just keep the icons visible as they are inside the groupmembers page. You only need to move the buttons out of it.

lordebon 09-03-2007 03:23 PM

*forehead smack* Duh. Thanks for the reality check GM9. Sometimes I forget that the 'pages' are only containers and that I can just move it outside.

lordebon 09-03-2007 06:58 PM

One additional thought: Now how do I do the same thing for the player window? It's not like theres a window that that is contained in for me to work with like that...

Othesus 09-03-2007 09:14 PM

Usually it's easiest to just look at what modders have put together already. I spent a few hours debugging and working on this problem a few months ago. Here's the player window I made for someone:
http://www.eq2interface.com/forums/s...ead.php?t=8066

I wrote an explanation of the scripting steps there too.

lordebon 09-03-2007 10:58 PM

Ahh, thanks, that didn't turn up in my searches. target_previous is exactly what I was looking for, I didn't know that command existed =)

Thanks much =)

gm9 09-04-2007 03:19 AM

LordEbon, please excuse my big smile but you said the exact same thing to me when I explained it nearly one year ago after I came up with this way of curing for the ProfitUI 3.x line: http://www.eq2interface.com/forums/s...2198#post52198. :D

lordebon 09-04-2007 11:17 AM

Hehe. That is rather funny! I guess I can say that at very least I'm consistent :D


All times are GMT -5. The time now is 06:34 PM.

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