Jump to content
  • 0

Help me about MPV Battle....


Question

Posted (edited)

Help me please.....

If the dead back to the save point soon and clear Boss MVP in area battle MVP.

Where should edit on script...

Thank you so much...

// ================ Script ==============



OnStartMvP:
        
        monster "oasis",245,103,getmonsterinfo(.Mvpids,0),.Mvpids[rand(getarraysize(.Mvpids))],1,"MvP_Event::OnKillmonster";
        sleep2 60000;
            enablenpc "BossDeal#Failed";
            killmonster "oasis","MvP_Event::OnKillmonster";
            set $@Playing,0;
            disablenpc "BossDeal#Failed";
            
        end;
        
}

-    script    MvP_Event    -1,{
        
OnKillmonster:

        areaannounce "oasis",220,111,257,78,"have 10sec. pick item before moving save point",0;
        sleep2 10000;
        warp "SavePoint",0,0;
        set $@Playing,0;
        end;
        
OnInit:
        killmonster "oasis","MvP_Event::OnKillmonster";
        end;
}

oasis    mapflag    nobranch
oasis    mapflag    noicewall
oasis    mapflag    nomemo
oasis    mapflag    noteleport
oasis    mapflag    monster_noteleport

 

Edited by saovarott159
Please use CODEBOX.

2 answers to this question

Recommended Posts

  • 0
Posted

Well, although the question seems uncomprehensible, I think you want to make dead players to be teleported as soon as they fall from a specific MVP.
Look at doc/scriptcommands.txt and study a Lavel named OnPCDieEvent, you may start from there.

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