|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
|
I am not all that familiar with gump scripting. I am trying to add a button item (bottles) to this gump. How would I go about it?
Code:
AddPage(0);
AddImageTiled(95, 40, 371, 548, 2624);
AddLabel(215, 64, 1153, @"Bulk Resource Stone");
AddButton(120, 130, 247, 248, 1, GumpButtonType.Reply, 0);
AddButton(120, 180, 247, 248, 2, GumpButtonType.Reply, 0);
AddButton(120, 230, 247, 248, 3, GumpButtonType.Reply, 0);
AddButton(120, 280, 247, 248, 4, GumpButtonType.Reply, 0);
AddButton(120, 330, 247, 248, 5, GumpButtonType.Reply, 0);
AddButton(119, 380, 247, 248, 6, GumpButtonType.Reply, 0);
AddButton(120, 430, 247, 248, 7, GumpButtonType.Reply, 0);
AddButton(118, 480, 247, 248, 8, GumpButtonType.Reply, 0);
AddButton(118, 530, 247, 248, 9, GumpButtonType.Reply, 0);
AddLabel(215, 130, 1153, @"Mage Reg Bags @ 100 - Cost 5500");
AddLabel(215, 180, 1153, @"Necro Reg Bags @ 100 - Cost 6500");
AddLabel(215, 230, 1153, @"Druid Reg Bags @ 100 - Cost 5500");
AddLabel(215, 280, 1153, @"Ranger Reg Bags @ 100 - Cost 5500");
AddLabel(215, 330, 1153, @"Rogue Reg Bags @ 100 - Cost 5500");
AddLabel(215, 380, 1153, @"Undead Reg Bags @ 100 - Cost 6000");
AddLabel(216, 429, 1153, @"Blank Scrolls @ 100 - Cost 1000");
AddLabel(215, 480, 1153, @"Arrows @ 100 - Cost 600");
AddLabel(215, 534, 1153, @"Bolts @ 100 - Cost 1200");
__________________
"Thought of the Day" Don't hold your farts in. It travels up your spine, to your brain and this is where shitty ideas come from. |
|
|
|
|
|
#2 (permalink) | |
|
Forum Expert
|
Quote:
Code:
void AddItem( int x, int y, int itemID ) void AddItem( int x, int y, int itemID, int hue ) when the menu comes up click on the following options (in this order) 1. "Class Overview" 2. "Server.Gumps" not "Server" 3. "Gump" then scroll to the bottom of the page, everything you can do with a gump is located there.
__________________
If you are not a Moderator, don't try to moderate. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|