saovarott159 Posted November 22, 2016 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 53 Reputation: 1 Joined: 10/06/16 Last Seen: April 17, 2017 Share Posted November 22, 2016 (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 November 24, 2016 by saovarott159 Please use CODEBOX. Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 22, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10015 Reputation: 2350 Joined: 10/28/11 Last Seen: Saturday at 04:25 AM Share Posted November 22, 2016 OnPCDieEvent: if ( strcharinfo(3) == "oasis" ) { warp "SavePoint",0,0; set $@Playing,0; } end; you can try add these code into your script. 1 Quote Link to comment Share on other sites More sharing options...
0 Haziel Posted November 22, 2016 Group: Content Moderator Topic Count: 22 Topics Per Day: 0.00 Content Count: 639 Reputation: 597 Joined: 11/25/11 Last Seen: December 30, 2023 Share Posted November 22, 2016 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. Quote Link to comment Share on other sites More sharing options...
Question
saovarott159
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
Please use CODEBOX.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.