Thread: Make Option Dialogue Open a Second Option Dialogue?

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Make Option Dialogue Open a Second Option Dialogue? 
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Hi, I am using a deltascape source and I am wondering how I can make an option dialogue open a second option dialogue by clicking one of the options.

    Also, currently, I have 3 options in the option dialogue. I need to have 4 options so that the last option can be named 'More...' and when someone clicks on that, it would send them to the second option dialogue.

    This is my current code:

    Code:
    	c.teleEffect = 16;
    	c.sendQuest("Training?", 2470);
    	c.sendQuest("Rock Crabs", 2471);
    	c.sendQuest("Dagannoth", 2472);
    	c.sendQuest("Crandor", 2473);
    	c.sendFrame164(2469);
    				break;
    			case 51013: // training teleport
     	c.teleEffect = 16;
    	c.sendQuest("Training?", 2470);
    	c.sendQuest("Rock Crabs", 2471);
    	c.sendQuest("Dagannoth", 2472);
    	c.sendQuest("Crandor", 2473);
    	c.sendFrame164(2469);
    				break;
    What I would like is something like:

    Code:
    	c.teleEffect = 16;
    	c.sendQuest("Training?", 2470);
    	c.sendQuest("Rock Crabs", 2471);
    	c.sendQuest("Dagannoth", 2472);
    	c.sendQuest("Crandor", 2473);
    	c.sendQuest("More...", 2474);
    	c.sendFrame164(2469);
    				break;
    			case 51013: // training teleport
     	c.teleEffect = 16;
    	c.sendQuest("Training?", 2470);
    	c.sendQuest("Rock Crabs", 2471);
    	c.sendQuest("Dagannoth", 2472);
    	c.sendQuest("Crandor", 2473);
    	c.sendQuest("More...", 2474);
    	c.sendFrame164(2469);
    				break;
    Once someone clicks on the "More..." option, it would open a second option dialogue.

    Please help!

    (P.S. I wrote a help thread about this a while ago, but it was too confusing for people to understand )

    Shadow.
     

  2. #2  
    Registered Member
    DaraX's Avatar
    Join Date
    Apr 2009
    Posts
    1,183
    Thanks given
    18
    Thanks received
    29
    Rep Power
    262
    People understood, you didn't look.
     

  3. #3  
    Registered Member
    Pilldom's Avatar
    Join Date
    Sep 2007
    Posts
    1,298
    Thanks given
    24
    Thanks received
    221
    Rep Power
    164
    What base are you using delta? If so I know who but your gonna have to do some work yourself as I dont know the exact action button ID. In clicking most, add
    Code:
    System.out.println(""+c.actionButtonId);
    under public void clicking
    then start up your server, go to that chat option, and click on the more button.
    Then if you look at your cmd, it should show a number, might be 9160 or something I dont know.
    Then find another case, such as case 9157: and right above it add
    Code:
    case (what ever number the cmd showed):
    what you want the more button to do goes here
    break;
    99% sure that will work.
    Attached image
     

  4. #4  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    I'll try.
     

  5. #5  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Quote Originally Posted by Qulala View Post
    What base are you using delta? If so I know who but your gonna have to do some work yourself as I dont know the exact action button ID. In clicking most, add
    Code:
    System.out.println(""+c.actionButtonId);
    under public void clicking
    then start up your server, go to that chat option, and click on the more button.
    Then if you look at your cmd, it should show a number, might be 9160 or something I dont know.
    Then find another case, such as case 9157: and right above it add
    Code:
    case (what ever number the cmd showed):
    what you want the more button to do goes here
    break;
    99% sure that will work.
    Alright, currently I have 3 options at the moment. When I click the 'More' option it shows the case # 9169.

    I looked under case 9169 in clickingmost.java and already have a bunch of codes:

    Code:
    case 9169: //sendquest 2473
    if(c.teleEffect == 1)
    c.triggerTele(2539+misc.random(2), 4716+misc.random(2), 0);
    c.killMyNPCs();
    c.resetfollowers();
    if(c.teleEffect == 3) // Yanille Mine
    c.triggerTele(2628+misc.random(1), 3134+misc.random(1), 0);
    c.killMyNPCs();
    c.resetfollowers();
    if(c.teleEffect == 4) // Sorcerer's Tower
    c.triggerTele(2702+misc.random(1), 3397+misc.random(1), 0);
    c.killMyNPCs();
    c.resetfollowers();
    if(c.teleEffect == 7) // Lesser Demons
    c.triggerTele(2836+misc.random(1), 9561+misc.random(1), 0);
    c.killMyNPCs();
    c.resetfollowers();
    Etc...

    What should I do then?

    Also, do you have MSN so you can teamview?
     

  6. #6  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Anybody?
     

  7. #7  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Help!
     

  8. #8  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Repping
     

  9. #9  
    Banned

    Join Date
    Nov 2009
    Posts
    4,219
    Thanks given
    2,950
    Thanks received
    1,362
    Rep Power
    0
    Seriously? No one?
     

  10. #10  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    u no about teleeffects right?

    u have to do a shitload of work, (in other words, not worth it)

    because you have to mess with alot of the cases and change around teleeffects and well
    like i said, too much work for it, no1 will really give a shit about it...

    also, i hate dialogue, which this is involved i spent about a day and my dialogue for a helper, still looks like shit...
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •