I have taken the HAB token from Pub57 release and stripped out the Account Bound pieces.
I then added the hair/beard for human and elf males.

No matter how I try to adjust this gump, I can not get it to nicely break onto 3 lines. I just keeps adding to the second line:

1609340211400.png

If someone out there could show me how to make that break onto 3 lines it would be super awesome.

Thanks!
Post automatically merged:

Thanks out to @AsYlum


int offsetX = 0;
int offsetY = 0;

for (int i = 0; i < _Entries.Length; ++i)
{
AddBackground(70 + (124 * offsetX), (60 + offsetY), 60, 64, 0xA3C);
AddTooltip(_Entries.Tooltip);
AddImage(10 + (124 * offsetX), (20 + offsetY), _Entries.GumpID);
AddRadio(30 + (124 * offsetX), (80 + offsetY), 0xD0, 0xD1, false, 41400 + i);

offsetX += 1;

if (offsetX > 0 && offsetX % 4 == 0)
{
offsetX = 0;
offsetY += 75;
}
}
 

Attachments

  • HABPromotionalToken.cs
    14.1 KB · Views: 4
Last edited:
Back