People understood, you didn't look.
|
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:
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.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;
Once someone clicks on the "More..." option, it would open a second option dialogue.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;
Please help!
(P.S. I wrote a help thread about this a while ago, but it was too confusing for people to understand )
Shadow.
People understood, you didn't look.
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
under public void clickingCode:System.out.println(""+c.actionButtonId);
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
99% sure that will work.Code:case (what ever number the cmd showed): what you want the more button to do goes here break;
I'll try.
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:
Etc...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();
What should I do then?
Also, do you have MSN so you can teamview?
Anybody?
Help!
Repping
Seriously? No one?
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...
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |