Bump
|
Basically I'm adding some skilling teleports and I want each teleport to have it's own teleport Menu, so for woodcutting I have added 3 options but when I click "Woodcutting" nothing happens. Here are my codes:
DialogueHandler
ClickingButtons Under case 9190 which is the first optioncase 192:
sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's");
c.dialogueAction = 122;
c.dialogueId = 192;
c.teleAction = -3;
break;
That's what I have added but the menu does not seem to open, anyone any ideas?} else if (c.teleAction == -3) {
//Woodcutting Menu
c.dialogueId = 192;
c.getDH().sendDialogues(c.dialogueId, 0);
}
Bump
make it like this
Code:case 192: c.getDH().sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's"); c.teleAction = 6;only keep do like thatCode:} else if (c.teleAction == 6) { c.getPA().spellTeleport(Change this, Change this, 0); c.teleAction = you new tele action;
try this
make it like this
Code:case 192: c.getDH().sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's"); c.teleAction = 6;only keep do like thatCode:} else if (c.teleAction == 6) { c.getPA().spellTeleport(Change this, Change this, 0); c.teleAction = you new tele action;
post the last 20 lines before the break; of case 9190
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |