|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Feb 2006
Posts: 23
|
Hello everyone,
I have been fiddling and fiddling, then moved on to searching and searching, but I have found nothing that can help me with my problem. I am wondering if it is possible to make the GumpButton dragable? If you had a background, with a button in the middle, the button is obviously classed as an undragable region. I am wondering if it is possible to either... A) Make a GumpButton dragable B) Make another component that is dragable, have an OnResponse callback. I hope that this isn't to vague, but thanks in advance. Kind Regards Celtic |
|
|
|
|
|
#5 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
My current problem is that the client won't tell the server that the gump moved. Once you logout and back in you have to move all your gumps back into position again. I have seen code for Sigil's Vanguard that is in beta phase and it tracks movement with the tip of the pointer. I'm hoping I can find a way to track a mouse (click/hold) and the movement of the pointer and save it into the server side.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment. Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse." My Customs:
|
|
|
|
|
|
|
#6 (permalink) |
|
Account Terminated
Join Date: Jul 2006
Location: Behind You
Age: 16
Posts: 386
|
anything is possiblle, but if you are a begginer at this then i would suggest starting with something a little easier, but you never know you might figure out something. Good luck to you.
|
|
|
|
|
|
#7 (permalink) |
|
Master of the Internet
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
|
hrumm...
@LN: if you were really desperate, you could have the user tell you the X and Y location s/he wants the gump to show up at...(via another gump). That's a "whatever works" kinda fix, tho... @Celtic: If you're looking to specifically make buttons draggable, the only way I know how to do that is to create multiple sub-gumps. It wouldn't be too hard to do programmatically. The OnResponse for these gumps would call a method in the main gump class to do whatever actions you need done.
__________________
Goodbye, folks. |
|
|
|
|
|
#8 (permalink) | |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
|
Quote:
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment. Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse." My Customs:
|
|
|
|
|
|
|
#9 (permalink) |
|
Master of the Internet
Join Date: Feb 2004
Location: NC/NC State Univ
Age: 23
Posts: 16,424
|
Yarr. I realize what you *want* to do, I'm trying to find a fix that doesn't require boatloads of work for you... (but isn't nearly as cool, either :-\)
__________________
Goodbye, folks. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|