Source are you using?
|
Hey there, I'm trying to add a holiday event to my server, but i need to get Santa to open a dialogue with "talk", his npc id is '1552' if you could give a detailed description of where to put what code, it would be a major help..
Thanks a load.
Vader
474 Project Insanity
Yes.. Project insanity is a base, and can be used for 474 =P
DIALOGUEHANDLER.JAVA
ActionHandler.javaCode:case 500: sendNpcChat4("TEXT1.", "TEXT2.", "TEXT3.", "TEXT4", c.talkingNpc, "Santa"); c.nextChat = 501; break; case 501: sendOption2("OPTION1", "OPTION2"); c.nextChat = NEXT#; break;
Search forBelow it addCode:public void firstClickNpc(int npcType) {Code:case 1552: c.getDH().sendDialogues(500, 1552); break;
Server or client?
Server.
Thanks, Ill Try it out.
You can also add a talk button clientsided, so it sends that packet to the server, which allows you to talk aswell.
This is also used for custom shit.
Eat, Attack, Wield,..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |