Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 03-28-2007, 03:33 PM   #1
myxiplx
A Weathered Clockwork
 
Join Date: Aug 2006
Posts: 313
Interface Author - Click to view interfaces
Default Player window - click to target self

How do you get the player window to target yourself if you click anywhere on it?

I know I've read of someone doing this, but can't for the life of me find the thread to have a look at the code.
myxiplx is offline   Reply With Quote
Old 03-29-2007, 12:23 AM   #2
fenrian1
A Shissar Defiler
 
fenrian1's Avatar
 
Join Date: Jun 2005
Posts: 164
Interface Author - Click to view interfaces
Default

it self targets when you click on your name. Your name is associated with you health gauge. You just have to fool with the size and offset until it fills the screen. You can even have both the gauge and you name postioned offscreen and it will still self target if you name area is big enough.
fenrian1 is offline   Reply With Quote
Old 03-29-2007, 12:55 PM   #3
myxiplx
A Weathered Clockwork
 
Join Date: Aug 2006
Posts: 313
Interface Author - Click to view interfaces
Default

Thanks Fenrian, was wondering about that, good to have confirmation before playing with the code.

That technique works a treat. If anyone else ever comes across this thread, full steps to make the entire player window clickable to select the player are:

1. Create a 2nd HP gague control (just give it a different item name)
2. Add it to the window as the last control (so it's on top of the others)
3. Position it at 0, -30
4. Size it to fill the entire width and height of the control
5. Ensure the gague and text offsets are 0 (so they're both off the top of the window)

Myx
myxiplx is offline   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


All times are GMT -5. The time now is 09:50 AM.


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