
Originally Posted by
Zelda
this is a weird question but can i have your hover methods mine just dont work
Code:
public static void addHoveredButton(int i, String imageName, int j, int w, int h, int IMAGEID) {
RSInterface tab = addTabInterface(i);
tab.parentID = i;
tab.id = i;
tab.type = 0;
tab.atActionType = 0;
tab.width = w;
tab.height = h;
tab.interfaceShown = true;
tab.opacity = 0;
tab.hoverType = -1;
tab.scrollMax = 0;
addHoverImage(IMAGEID, j, j, imageName);
tab.totalChildren(1);
tab.child(0, IMAGEID, 0, 0);
}
public static void addHoverButton(int i, String imageName, int j, int width, int height, String text, int contentType, int hoverOver, int aT) RSInterface tab = addTabInterface(i);
tab.id = i;
tab.parentID = i;
tab.type = 5;
tab.atActionType = aT;
tab.contentType = contentType;
tab.opacity = 0;
tab.hoverType = hoverOver;
tab.sprite1 = imageLoader(j, imageName);
tab.sprite2 = imageLoader(j, imageName);
tab.width = width;
tab.height = height;
tab.tooltip = text;
}
There yah go.