» Find Revision
L2J Revision Last:
L2JDP Revision Last:
im trying to figure out how to call npc's html dialog
im making my own gm shop with voiced command and i cant call a multisell without his npc so what i did is:
Code: Select all
int Npc_Id = 900104L2Npc npc = new L2Npc(5, NpcTable.getInstance().getTemplate(Npc_Id);npc.showChatWindow(activeChar);
and when i try this one:
Code: Select all
int multisellId= Integer.parseInt(st.nextToken());int Npc_Id = 900104L2Npc npc = new L2Npc(5, NpcTable.getInstance().getTemplate(Npc_Id);MultisellData.getInstance().seperateAndSend(multisellId,activeChar,npc,true);
all of this codes is part in voiced command handler