Originally Posted by
daemon504
Alright, so i want an npc to have a dialogue but
i want to have the npc only say the dialogue when on a certain spot.
if (npc.getId() == CUSTOMNPC)
player.getDialogueManager().startDialogue("DIALOGU E", npc.getId());
so i have that but how would i make it only work on a certain spot so that i can have the same npc multiple times but only one would say a dialogue
i saw this in my objecthandler:
} else if (id == 37928 && object.getX() == 2883
&& object.getY() == 4370 && object.getPlane() == 0) {
but i cant seem to figure out how to do that same for an npc?
any ideas?
thanks - Daemon504