Thread: Error with Dialogue

Results 1 to 3 of 3
  1. #1 Error with Dialogue 
    Registered Member
    Join Date
    Apr 2012
    Posts
    112
    Thanks given
    1
    Thanks received
    2
    Rep Power
    11
    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 ?
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Jul 2008
    Posts
    3,523
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    add a break; under c.nextchat = 0
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    case 1337:
    sendOption2("PK'er Scoreboard", "Skiller Scoreboard");
    c.dialogueAction = 1337;
    break;

    rofl, leet

    is dis a troll?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 4
    Last Post: 03-22-2012, 11:53 PM
  2. PI Dialogue - Not an error nor fix.
    By Theukpk in forum Help
    Replies: 4
    Last Post: 12-25-2010, 01:40 PM
  3. Replies: 1
    Last Post: 12-24-2010, 09:41 PM
  4. dialogue array error
    By silabgarza in forum Help
    Replies: 3
    Last Post: 05-09-2010, 04:41 PM
  5. Dialogue error.. [help]
    By Ed in forum Help
    Replies: 4
    Last Post: 06-20-2009, 08:02 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •