Thread: [PI] Dialogue 'next' option

Results 1 to 10 of 10
  1. #1 [PI] Dialogue 'next' option 
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    Okay so i need to know how can i make my Dialogue like this
    __________________________________
    |
    | CITIES
    | MONSTERS
    |
    |__________________________________


    And when u click that Cities, it will open something like this

    __________________________________
    |
    | Varrock
    | Falador
    | Canifis
    |__________________________________

    So the main problem is, i can't find any guides related to something liek this

    Thanks!

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  2. #2  
    Registered Member Nouish's Avatar
    Join Date
    Jun 2011
    Posts
    822
    Thanks given
    142
    Thanks received
    177
    Rep Power
    282
    DialogueHandler ("c.getDH()")

    and then handle input from the client, clickingButtons (not sure which ID's)
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    Hold, this one is mine dialoguehandles, added this into it yet
    Code:
    		case 46:
    			sendOption4("Places", "Dungeons", "Bosses", "Minigames");
    			break;
    		case 47:// this is the 'PLACES TELE'
    			sendOption5("Taverly Dungeon", "Brimhaven Dungeon", "Slayer Tower", "Warriors Guild", "more");
    			c.teleAction = 47;
    			break;
    and this is Mine clickingbuttons, but this still wont work

    Code:
    				if (c.dialogueAction == 46) {
    					c.getDH().sendDialogues(47, 0);
    				}
    and what should i do now?

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  4. #4  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Quote Originally Posted by arcane-scape View Post
    Hold, this one is mine dialoguehandles, added this into it yet
    Code:
    		case 46:
    			sendOption5("Places", "Dungeons", "Bosses", "Minigames");
    			break;
    and what should i do now?
    First off that won't work because you're requsting 5 strings but have only supplied 4,

    Code:
    		case 46:
    			     sendOption5("Places", "Dungeons", "Bosses", "Minigames", "More");
    c.dialogueAction = 500;
    			break;
    Go into clickingButtons, search for the following cases through 9190 - 9195. The cases correspond with the placing of the Strings so for example; Places = 9190 & Dungeons = 9191, Bosses = 9192, etcetera. You're also going to have to make an integer or use one that most sources use called dialogueAction and initialize it in the switch case in DH which I have done for you.

    to make the "click to continue" button continue to a chat of your desire then just use c.nextChat = ID;
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    -nvm
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    Hold, this one is mine dialoguehandles, added this into it yet
    Code:
    		case 46:
    			sendOption4("Places", "Dungeons", "Bosses", "Minigames");
    c.dialogueAction = 46;
    			break;
    		case 47:// this is the 'PLACES TELE'
    			sendOption5("Taverly Dungeon", "Brimhaven Dungeon", "Slayer Tower", "Warriors Guild", "more");
    			c.teleAction = 47;
    			break;
    and this is Mine clickingbuttons, but this still wont work

    Code:
    				if (c.dialogueAction == 46) {
    					c.getDH().sendDialogues(47, 0);
    				}
    and what should i do now?

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    still need help

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    any1?

    Click here to view Project Rebirth Progress
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Mar 2012
    Posts
    136
    Thanks given
    0
    Thanks received
    10
    Rep Power
    0
    first of all you can only have 4 options, so just remove 1 for now so itll open @ more
    anyway im not sure never needed this before lol
    [example] if your options are:
    case 47:// this is the 'PLACES TELE'
    sendOption5("Taverly Dungeon", "Brimhaven Dungeon", "Slayer Tower", "more");
    c.teleAction = 47;
    break;

    case 48:// this is the 'MORE option'
    sendOption5("warrior guild", "blah", "hi", "empty");
    c.teleAction = 48;
    break;

    go ingame and click on the "more" option, check your run.bat cmd (server) to see what case id you get.

    case id:
    if (c.teleAction == 48) {
    //a place
    c.getPA().spellTeleport(coords, coords, 0);

    change "id" to the id u got from clicking "more" ingame
    change "coords" and "coords" to your coords
    i just confused myself lol no idea if this works anyway it shud look like dat
    tell me any errors you get
    Last edited by Lesley15; 04-08-2012 at 10:18 PM. Reason: sorry no time on actually making it work im busy lol
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Dec 2010
    Posts
    710
    Thanks given
    41
    Thanks received
    3
    Rep Power
    0
    bro, that it npc first click which emans taht when u click npc it opens up the dialogue

    Click here to view Project Rebirth Progress
    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. [PI] Dialogue option not working?
    By 13lack drag in forum Help
    Replies: 1
    Last Post: 08-29-2013, 12:53 AM
  2. Option NPC Dialogue
    By nsf_ in forum Help
    Replies: 12
    Last Post: 07-22-2011, 01:59 PM
  3. Can't get the Option to send a Dialogue?
    By Ho H0 Ho in forum Help
    Replies: 5
    Last Post: 12-16-2010, 10:04 PM
  4. Option NPC dialogue.
    By Continue in forum Help
    Replies: 0
    Last Post: 09-05-2010, 12:48 AM
  5. Replies: 17
    Last Post: 01-01-2010, 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
  •