Page 1 of 1

Multi NPC

Posted: Wed Jun 15, 2011 1:50 pm
by diablodoro
hello
i was searching in the forum for Multi NPC but i didnt fiend anithing and i wonted to ask

well im trying to make NPC that make everithing i mean:
Werehouce
Clan Wearhouce
Clan options
and add

but i have problem linking the "bottons"
i use this code

Code: Select all

<tr><td><br></td></tr> <tr>   <td align=center><button value="Clan WH" action="bypass -h npc_%objectId%_Chat CWH" width=85 height=26 back="L2UI_CT1.Windows_DF_Drawer_Bg_Darker" fore="L2UI_CT1.Windows_DF_Drawer_Bg_Darker"></td>   </tr>
the problem is

Code: Select all

bypass -h npc_%objectId%_Chat CWH
i don't know how to edit this so i can use the htm of other charecters

10x alot :)

PC: how to link one NPC to the htm of other NPC

Re: Multi NPC

Posted: Wed Jun 15, 2011 3:53 pm
by jurchiks
bypass -h Link default/35098.htm
BUT if there are some npc-instance-specific bypasses, those won't work with your NPC.

Re: Multi NPC

Posted: Thu Jun 16, 2011 12:29 am
by diablodoro
you mean like this ?

Code: Select all

<td align=center><button value="Clan" action="bypass -h link data/scripts/village_master/9000_clan/9000-01.htm" width=85 height=26 back="L2UI_CT1.Windows_DF_Drawer_Bg_Darker" fore="L2UI_CT1.Windows_DF_Drawer_Bg_Darker"></td>  

Re: Multi NPC

Posted: Thu Jun 16, 2011 4:58 pm
by jurchiks
mmmmmnooooo, it only allows HTMLs from data/html/*, not from data/scripts or any other folder.
For that you could try "bypass -h Quest 9000_clan". Just don't forget to add the NPC ID to the scripts' addTalkId.

Re: Multi NPC

Posted: Thu Jun 16, 2011 7:32 pm
by diablodoro
i was know that i miss someting :D 10x alot :) i will try it :)