Hello guys, how i can warp the instance for other map?
I whant that i kill the big foot, the instance warp to guild_vs3
Main Script:
prontera,156,189,5 script Raid1_F_MARIA,{
mes "Conquista de três";
next;if(!getcharid(CHAR_ID_PARTY)){
mes "Você deve formar um grupo para participar.";
close;}if( getpartyleader( getcharid(CHAR_ID_PARTY),2)!= getcharid(CHAR_ID_CHAR)){
mes "Apenas o líder do grupo pode iniciar.";
close;}.@origin= getcharid(CHAR_ID_ACCOUNT);
getpartymember getcharid(CHAR_ID_PARTY),1;
getpartymember getcharid(CHAR_ID_PARTY),2;for(.@i=0;.@i< $@partymembercount;++.@i){if( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i])){
attachrid $@partymemberaid[.@i];if( strcharinfo(PC_MAP)== strnpcinfo(NPC_MAP)).@online++;}}
attachrid .@origin;if( $@partymembercount !=.register_min ){
mes "[MvP Ladder Warper]";
mes "Você deve formar um grupo de "+.register_min +" membror para play.";
close;}elseif(.@online!=.register_min ){
mes "[MvP Ladder Warper]";
mes "Seu grupo deve possuír "+.register_min +" membros online no mapa '"+ strnpcinfo(4)+"'.";
close;}if((.@ins= instance_create("Raid Dungeon", getcharid(CHAR_ID_PARTY), IOT_PARTY ))<0){
mes "error : "+.@ins;
close;}if( instance_attachmap("guild_vs2",.@ins,1,.@ins+"RAID")==""){
mes "error : 5";
instance_destroy .@ins;
close;}
instance_set_timeout 3600,15,.@ins;
instance_init .@ins;
instance_attach .@ins;'hue =1;
warpparty has_instance("guild_vs2"),0,0, getcharid(CHAR_ID_PARTY), strnpcinfo(4);
end;OnInit:.register_min =1;
end;}
Hello guys, how i can warp the instance for other map?
I whant that i kill the big foot, the instance warp to guild_vs3
Main Script:
Instance Level 1:
Instance Level 2: (how i can warp to here?)
Share this post
Link to post
Share on other sites