How to bypass two different PY scripts in the same npc
Posted: Tue Oct 07, 2014 12:13 am
I have a custom NPC (ID is 9999). I want to start 2 different quest scripts in python from this.
In the main HTML there are two buttons.
FIRST
This works fine. I have a folder named 9999_Npc where is the script __init__.py.
SECOND
The same, I have a folder named 555_Npc where is the script py.
This does not work.
Changed bypass to "bypass -h Quest 555_Npc", but no way.
Pushing the button nothing happens, just close the window. There are no errors in console or in scripts and if I run these scripts in two different NPC, they are ok.
Please help, thank you
In the main HTML there are two buttons.
FIRST
Code: Select all
<button value="First Quest" action="bypass -h npc_%objectId%_Quest 9999_Npc" width=170 height=52 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
SECOND
Code: Select all
<button value="Second Quest" action="bypass -h npc_%objectId%_Quest 555_Npc" width=170 height=52 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"><br>
This does not work.
Changed bypass to "bypass -h Quest 555_Npc", but no way.
Pushing the button nothing happens, just close the window. There are no errors in console or in scripts and if I run these scripts in two different NPC, they are ok.
Please help, thank you