http://www.rune-server.org/runescape...-beginner.html
Use this, there is a search bar for a reason.
|
Hello.I am asking how can I make an npc open a dialogue on pi?
http://www.rune-server.org/runescape...-beginner.html
Use this, there is a search bar for a reason.
Thanks for that, but it aint working with my npc.I tryied changing the dialogue to get opened by other npc and it worked.
SO, I need to ask you something.I am trying to make Nex (custom npc) talk.
This is my code in entity def
if(i == 2636){
entitydef.anIntArray94 = new int[1];
entitydef.anIntArray94[0] = 62717;
entitydef.name = "Nex";
entitydef.aByte68 = 3;
entitydef.itemActions = new String[5];
entitydef.itemActions[1] = "Talk-To";
entitydef.aBoolean87 = true;
entitydef.combatLevel = 1001;
entitydef.aBoolean93 = true;
entitydef.anInt85 = 10;
entitydef.anInt92 = 50;
entitydef.anInt75 = 15;
entitydef.anInt79 = 32;
entitydef.aBoolean84 = true;
}
That npc should open my dialogue, but instead my character attacks it.Can you say me how can I fix that?
case ####:
c.getDH().sendDialogues(####, npcType);
break;
Bob.It doesnt work with my npc...Im asking how to make it work with NEx.
u mean whr the nex talks " umbra dont fail me" "fill my soul will bloood" "let the virus flow etc etc... rite?
Nope.I mean to make nex open a dialogue...Not force chat.
you want 'Nex' to open dialogue... lol? well you can set up dialogues at dialoguehandler.java
create the dialogue in dialoguehandler and then add the npc id and dialogue id into actionhandler under neath 'firstclicknpc'
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |