Skip to content

RB death Announcement

Featured Replies

I wanna know if its possible to have an announce after a rb is killed, like: "RaidBoss Baium has been killed by weghgfd!"

 

Make an AI for Your rb and then you should make somethink like that if your rb is death ..announce bla bla bla , cheack AI script and you will its very simple to do it .

stay loged in all the day and watch the RBs then you can make an announcement yourself and no auto :P

  • Author

Well, dunno wth im doing wrong but i can add announce after the rb is killed and announce will contain the killers nick but i cant make it to announce which rb has been killed and by who...

data\scripts\ai\individual

 

Select Boss and in this part

 

    public String onKill (L2NpcInstance npc, L2PcInstance killer, boolean isPet) 
    { 
          bla bla bla 
    }

 

put this

Announcements.getInstance().announceToAll("Gz to " + killer + " he kill the Baium!");

do ti in core, in L2RaidBossInstance or whatever its called.

 

add on doDie something like

 

Announcements.getInstance().announceToAll(killer.getName() + " just killed " + this.getName());

  • Author

I've already tryed this:     Announcements.getInstance().announceToAll(""+killer.getName()+" has successfully defeated raidboss "+raidboss.getName()+"");

and it doesnt work.

The problem is with raidboss.getname()

 

 

PS: Thx vago! Works perfect :)

Please one moderator lock it to avoid spam...

 

Thx!

Please one moderator lock it to avoid spam...

 

Thx!

 

topic locked

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.