Thread: [Dialogue]

Results 1 to 6 of 6
  1. #1 [Dialogue] 
    Registered Member
    Join Date
    May 2009
    Posts
    312
    Thanks given
    33
    Thanks received
    5
    Rep Power
    0
    Im using Luminosity 474, and how does this actually works?

    case 100:
    sendOption3("Can you recharge my sceptre?", "Start Pyramid Plunder?", "Nothing");
    c.dialogueAction = 100;
    c.nextChat = 0;
    break;
    case 101:
    PyramidePlunder.rechargeSceptre(c);
    c.nextChat = 0;
    break;
    case 102:
    PyramidePlunder.startPyramidePlunder(c);
    c.nextChat = 0;
    break;
    Cus if i do this i cant even click on the text
    Reply With Quote  
     

  2. #2  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    if you want to make it all in one method then make it like this.
    also need clickingbuttons for options. never did 474 work.


    Code:
    case 100:
    sendOption3("Can you recharge my sceptre?", "Start Pyramid Plunder?", "Nothing");
    PyramidePlunder.rechargeSceptre(c);
    PyramidePlunder.startPyramidePlunder(c);
    with or without // c.dialogueAction = 100;
    c.nextChat = 0;
    break;
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2009
    Posts
    312
    Thanks given
    33
    Thanks received
    5
    Rep Power
    0
    yeah i did it like this

    Actionhandler:
    case 943://helper at home (survival)
    c.getDH().sendDialogues(90, npcType);//sends case 90
    break;
    then at Dialoguehandler

    [QUOTE case 90:
    c.getDH().sendOption5("Karamja", "Catherby", "Bandit Camp", "Gnome Agility Course", "Coming Soon");
    c.sendMessage("Karamja");
    c.sendMessage("Catherby");
    c.sendMessage("Bandit");
    c.sendMessage("Gnome");
    c.sendMessage("None");
    break;[/QUOTE]

    I just can't click any:




    And i dont know much either but im going to code this server till its epic i like those revisions

    And it just executes the whole comment like it doesnt orginise like i need to sendmessage 1 if i press karamja
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2009
    Posts
    312
    Thanks given
    33
    Thanks received
    5
    Rep Power
    0
    Subatol bump
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Sep 2011
    Posts
    6
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    In ClickingButtons.java go to your first click option ( which I think is case 9190: ) and add the code which recharges your sceptre.

    For the second option, find the second button option click and do the same for Starting Pyramid Plunder.

    Finally, for the third option go to the third clicking button and just make it end all conversations and windows. To close all windows, just add:
    Code:
    c.getPA().removeAllWindows();
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    May 2009
    Posts
    312
    Thanks given
    33
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by Zarbronia View Post
    In ClickingButtons.java go to your first click option ( which I think is case 9190: ) and add the code which recharges your sceptre.

    For the second option, find the second button option click and do the same for Starting Pyramid Plunder.

    Finally, for the third option go to the third clicking button and just make it end all conversations and windows. To close all windows, just add:
    Code:
    c.getPA().removeAllWindows();

    so if im right case 9091 stands for, "line 90", goes to nextchat 91.
    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. Send dialogue and open dialogue commands
    By .Rex in forum Snippets
    Replies: 0
    Last Post: 01-04-2012, 11:12 PM
  3. Replies: 2
    Last Post: 12-22-2011, 03:39 AM
  4. Replies: 1
    Last Post: 03-05-2008, 12:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •