what source are you using?
|
hey, i am looking for a tutorial of adding text (3 lines) then it goes to choices then both choices goes to different text then more text, etc
i have been looking for ages and i cant seem to find a tutorial...
Please help me?
what source are you using?
umm i think its project lmao, czar
go in your dialouge section and put the next case number:
case 63:
talk("Thanks, here. You will have to spin this sheep fur.", 291);
deleteItem(561, 100);
addItem(1738, 25);
break;
That's just an example, and here's the talk method:
public void talk(String text, int npc) {
sendFrame200(4883, 591);
sendFrame126(GetNpcName(npc), 4884);
sendFrame126(text, 4885);
sendFrame126("Click here to continue.", 4886);
sendFrame75(npc, 4883);
sendFrame164(4882);
NpcDialogueSend = true;
}
but what about going to choices then more text?
public void choice5(String text, String text2, String text3, String text4, String text5){
changeText126("Select an Option", 2493);
changeText126(text, 2494);
changeText126(text2, 2495);
changeText126(text3, 2496);
changeText126(text4, 2497);
changeText126(text5, 2498);
sendFrame164(2492);
}
public void choice(String text, String text2){
changeText126("Select an Option", 2460);
changeText126(text, 2461);
changeText126(text2, 2462);
sendFrame164(2459);
}
use those for choices:
and this is example of how it should look:
case 117:
choice("Yes.", "No.");
break;
case 2537:
choice5("I want 20 defence please.","I want 40 defence please.","I want 45 defence please.","I want 70 defence please.","I want 75 defence please.");
break;
how do i amke that go to some more text?
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |