GMxMomi Posted January 5, 2013 Share Posted January 5, 2013 i request Battleground clone!! 5 player register at waiting room!! if 5 player already register warp to some pvp map!! summon 15 evil clone!! each player have 3 evil clone! max win 15!! if death automatic out the game!! if win automatic got prize!! bump Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 10, 2013 Share Posted January 10, 2013 (edited) simple script prontera,155,178,5 script ldjfhksfjs 100,{ end; OnInit: .minplayer2start = 5; // minimum player to start .summon_clone = 3; // summon how many evil clone per player L_Reset: waitingroom "Clone Event", .minplayer2start +1, strnpcinfo(0)+"::OnEventInit", .minplayer2start; end; OnEventInit: if ( getwaitingroomstate(0) < .minplayer2start ) end; warpwaitingpc "guild_vs2", 0,0; killmonster "guild_vs2", strnpcinfo(0)+"::Onclonedead"; for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) for ( [email protected] = 0; [email protected] < .summon_clone; [email protected]++ ) clone "guild_vs2", 0,0, strnpcinfo(0)+"::Onclonedead", getcharid( 0, rid2name( [email protected]arpwaitingpc[[email protected]] ) ); .count = .minplayer2start * .summon_clone; copyarray .register_aid, [email protected], [email protected]; delwaitingroom; end; Onclonedead: .count--; if ( .count ) end; announce "all clones are dead !", 0; [email protected] = getarraysize( .register_aid ); for ( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) getitem 501, 1, .register_aid[[email protected]]; // reward item here getmapxy [email protected]$, [email protected], [email protected], 1; mapwarp "guild_vs2", [email protected]$, [email protected], [email protected]; goto L_Reset; OnPCDieEvent: OnPCLogoutEvent: if ( strcharinfo(3) != "guild_vs2" ) end; [email protected] = getarraysize( .register_aid ); while ( .register_aid[[email protected]] != getcharid(3) && [email protected] < [email protected] ) [email protected]++; deletearray .register_aid[[email protected]], 1; warp "Save", 0,0; if ( [email protected] > 1 ) end; announce "all players died, what a failure", 0; killmonster "guild_vs2", strnpcinfo(0)+"::Onclonedead"; goto L_Reset; } guild_vs2 mapflag nosave SavePoint guild_vs2 mapflag nowarp guild_vs2 mapflag nowarpto guild_vs2 mapflag noteleport guild_vs2 mapflag nomemo guild_vs2 mapflag nopenalty guild_vs2 mapflag nobranch guild_vs2 mapflag noicewall Edited January 11, 2013 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
GMxMomi Posted January 14, 2013 Author Share Posted January 14, 2013 (edited) thanks annie~ but the npc not work/response when click~ by the way i using 3 ceam~ Edited January 14, 2013 by GMxMomi Quote Link to comment Share on other sites More sharing options...
i request Battleground clone!!
5 player register at waiting room!!
if 5 player already register warp to some pvp map!!
summon 15 evil clone!!
each player have 3 evil clone!
max win 15!!
if death automatic out the game!!
if win automatic got prize!!
bump
Link to comment
Share on other sites