Guesswho777 Posted December 19, 2013 Posted December 19, 2013 Hello L2java developers! I have faced 1 issue. I am trying to make AIO NPC and my custom npc is starting quest on talk. The question is: how do I force my main NPC to bypass to that NPC and start that quest?
0 povis111 Posted December 19, 2013 Posted December 19, 2013 You can add a check to add the quest whenevert player talks to a npc, if you don't work with source code, the only way to start the quest is bypass
0 Guesswho777 Posted December 20, 2013 Author Posted December 20, 2013 Well my main NPC already got quest which starts on talk, I want to add additional button to it which will start quest from second NPC but will be displayed in 1st npc window
0 ^Wyatt Posted December 20, 2013 Posted December 20, 2013 Well my main NPC already got quest which starts on talk, I want to add additional button to it which will start quest from second NPC but will be displayed in 1st npc windowGet the method that are you using to start the quest inside onTalk() and c/p it inside onAdvEvent() with a check like "if(npc.getId() == YourNpcId && event.equals("startquest2"){blabla}" and inside the html use "action='bypass -h npc_%objectId%_Quest NameofTheQuest startquest2'" or whatever...
Question
Guesswho777
Hello L2java developers!
I have faced 1 issue. I am trying to make AIO NPC and my custom npc is starting quest on talk.
The question is: how do I force my main NPC to bypass to that NPC and start that quest?
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now