In Devo 2.7:
Open up 'DialogueAssistant.java'
Search for:
Code:
public void case40(client c) {
You will see something along the lines of this:
Code:
if ((c.NpcDialogue == 1)
|| c.NpcDialogue == 579 || c.NpcDialogue == 580 || c.NpcDialogue == 581
|| c.NpcDialogue == 582 || c.NpcDialogue == 583 || c.NpcDialogue == 584
|| c.NpcDialogue == 586 || c.NpcDialogue == 587 || c.NpcDialogue == 590
|| c.NpcDialogue == 591 || c.NpcDialogue == 592 || c.NpcDialogue == 593
|| c.NpcDialogue == 596 || c.NpcDialogue == 597 || c.NpcDialogue == 600
|| c.NpcDialogue == 601 || c.NpcDialogue == 602 || c.NpcDialogue == 603
|| c.NpcDialogue == 604 || c.NpcDialogue == 605 || c.NpcDialogue == 608
|| c.NpcDialogue == 609 || c.NpcDialogue == 610 || c.NpcDialogue == 612
|| c.NpcDialogue == 613 || c.NpcDialogue == 614 || c.NpcDialogue == 615
|| c.NpcDialogue == 618 || c.NpcDialogue == 622 || c.NpcDialogue == 623
|| c.NpcDialogue == 2650
){//add continue talking
c.NpcDialogue += 1;
c.NpcDialogueSend = false;
} else {
c.closeInterface();
}
Basically that is saying if you're in the NPCDialogue of # it will +1 to it (therefore going onto the next part) and if it's no in that list, it will close the chat. You can easily make it do extra things example:
Code:
if(c.NpcDialogue == 620){
c.closeInterface();
c.heightLevel = 4;
c.q3BOMB = 30;
c.QH().q3 = 9;
}
Hope I helped.