Jump to content
  • 0

RB death Announcement


Question

Posted

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

 

8 answers to this question

Recommended Posts

  • 0
Posted

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 .

  • 0
Posted

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...

  • 0
Posted

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!");

  • 0
Posted

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

 

add on doDie something like

 

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

  • 0
Posted

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 :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock