Jump to content
  • 0

MVP Announcer


Question

Posted (edited)

can i request a script that will announce when the MVP is alive? or a custom monster? everytime they re spawn it will announce like this..

"MVP Name" has revive back from the dead. and looking for preys

and when a player kill the MVP it will announce again that i will re spawn in [MVP respawn rate time].

 

is it possible?

Edited by Ginji

5 answers to this question

Recommended Posts

Posted

src/mob.c

 

Change:

    // MvP tomb [GreenBox]
    if ( md->tomb_nid )
        mvptomb_destroy(md);

 

to:

 

    // MvP tomb [GreenBox]
    if ( md->tomb_nid )
    {
        char message[128];
        sprintf(message,"MVP %s has revive back from the dead, and looking for preys.",md->db->name);
        intif_broadcast(message,strlen(message)+1,BC_DEFAULT);
        mvptomb_destroy(md);
    }

 

Obviously, recompile.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...