Custom Chat Mob

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
crazyshock
Posts: 118
Joined: Thu Mar 26, 2009 9:53 pm

Custom Chat Mob

Post by crazyshock »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: Freya revision 1
L2JDP Revision Number:Freya revision 1

It Is possible?
how do I add the player to kill a mob after he said something:

Example: Good Fighter !
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Custom Chat Mob

Post by jurchiks »

ai/group_template is one option:
@Override
public String onKill (L2Npc npc, L2PcInstance killer, boolean isPet)
{
}
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
crazyshock
Posts: 118
Joined: Thu Mar 26, 2009 9:53 pm

Re: Custom Chat Mob

Post by crazyshock »

and how do I add text?

thx
User avatar
tukune
Posts: 533
Joined: Sun Mar 29, 2009 2:35 pm
Location: Japan

Re: Custom Chat Mob

Post by tukune »

npc.broadcastPacket(new NpcSay(npc.getObjectId(), Say2.ALL, npc.getNpcId(), "Heeee!"));
crazyshock
Posts: 118
Joined: Thu Mar 26, 2009 9:53 pm

Re: Custom Chat Mob

Post by crazyshock »

Thanks!
Post Reply