add a break; under c.nextchat = 0
|
I have set in dialogue:
case 420:
sendNpcChat4("Hello there "+c.playerName+"!"," You look like an adventurer to me","Want to try out the maze minigame?","You will need to..", c.talkingNpc, "Azzanadra");
c.nextChat = 430;
break;
case 430:
sendNpcChat4("Reach the end of the maze!"," Once you are there","there will be somebody waiting","You will than give him 300k for you reward.", c.talkingNpc, "Azzanadra");
c.nextChat = 440;
break;
case 440:
sendOption2("I am ready to go", "I am not ready yet");
c.dialogueAction = 62;
c.nextChat = 0;
Which is linked to my actionhandler, Though it says the first two cases but instead of sayinv case 440 it skips and goes to the next case which is:
case 1337:
sendOption2("PK'er Scoreboard", "Skiller Scoreboard");
c.dialogueAction = 1337;
break;
I dont know what is wrong ?
add a break; under c.nextchat = 0
case 1337:
sendOption2("PK'er Scoreboard", "Skiller Scoreboard");
c.dialogueAction = 1337;
break;
rofl, leet
is dis a troll?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |