Alright let's say you want to make Sir Tristem the teleporter to Nomad.
Sir Tristem = 243
DialogueHandler, under
Add something like
Code:
case 600:
sendNpcChat4("Hello, adventurer", "I can teleport you to the dangerous Nomad.", "He drops very valuable items.",
"Would you like to be teleported to him?", c.talkingNpc, "Sir Tristem");
c.nextChat = 601;
break;
case 601:
sendOption2("Yes, I want to be teleported to Nomad.", "No, I would like to stay here.");
c.dialogueAction = 601;
break;
Head over to ClickingButtons and under
Add
Code:
if (c.dialogueAction == 601) {
c.getPA().movePlayer(xxxx, yyyy, 0); //Replace xxxx and yyyy with coordinates!
c.sendMessage("Good luck fighting Nomad!";
}
Time for ActionHandler
Find
Code:
public void firstClickNpc(int npcType) {
And under
Add
Code:
case 243:
c.getDH().sendDialogue(600, 243);
break;
I think that's it. Just reply to this if you need more help with this.