Jump to content
  • 0
Sign in to follow this  
stiflerxx

problems Event

Question

the part that is not working and that the barricades appear however if you break the wall barricade 1 already exits and the player can pass and handle the bau more right when all the barricades would have destroyed the wall disappear oh yes and give it to pass

 

 

setcell "eden_dun03",86,220,86,216,cell_walkable,0;
announce "[ Dungeo Guild ]: E as Barricadas Apareceram vão destrui-las !!!",8; goto OndsBarri; }
end;

//Barricadas
OndsBarri:
set $mobs,5;
areamonster "eden_dun03",87,220,87,220,"Barricadas da DG",1905,1,"DS3::OndsBdead";
areamonster "eden_dun03",87,219,87,219,"Barricadas da DG",1905,1,"DS3::OndsBdead";
areamonster "eden_dun03",87,218,87,218,"Barricadas da DG",1905,1,"DS3::OndsBdead";
areamonster "eden_dun03",87,217,87,217,"Barricadas da DG",1905,1,"DS3::OndsBdead";
areamonster "eden_dun03",87,216,87,216,"Barricadas da DG",1905,1,"DS3::OndsBdead";
end;


OndsBdead:
set $mobs,$mobs-1;
if($mobs == 0){ announce "[ Dungeo Guild ]: As Barridacas foram Destruidas!!",8; }
if($mobs == 0){ announce "[ Dungeo Guild ]: E os Baús Apareceram vão destrui-los !!!",8; goto Ondsbox; }

//Baus
Ondsbox:
set $mobs,8;
areamonster "eden_dun03",32,200,50,195,"Baú Perdido",2855,1,"DS3::Ondsboxdead";
areamonster "eden_dun03",60,190,20,200,"Baú Perdido",2855,1,"DS3::Ondsboxdead";
setcell "eden_dun03",86,220,86,216,cell_walkable,1;
end;


Ondsboxdead:
set $mobs,$mobs-1;
if($mobs == 0){ announce "[ Dungeo Guild ]: A última Caixa do Tesouro foi destruída!",8;
announce "[ Dungeo Guild ]: Obrigado a todos que participaram.",8;
disablenpc "[DG]Entrada Dungeo Guild";
disablenpc "Entrada Dungeo";
disablenpc "darkmall1";
sleep2 7000;
mapwarp "eden_dun03","prontera",150,150;

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I didn't really understood what you wanted, but here goes:

 

setcell "eden_dun03",86,220,86,216,cell_walkable,0;announce "[ Dungeo Guild ]: E as Barricadas Apareceram vão destrui-las !!!",8; goto OndsBarri; }end;//BarricadasOndsBarri:set $mobs,5;monster "eden_dun03",87,220,"Barricadas da DG",1905,1,"DS3::OndsBdead";monster "eden_dun03",87,219,"Barricadas da DG",1905,1,"DS3::OndsBdead";monster "eden_dun03",87,218,"Barricadas da DG",1905,1,"DS3::OndsBdead";monster "eden_dun03",87,217,"Barricadas da DG",1905,1,"DS3::OndsBdead";monster "eden_dun03",87,216,"Barricadas da DG",1905,1,"DS3::OndsBdead";end;OndsBdead:set $mobs,$mobs-1;if($mobs == 0){ announce "[ Dungeo Guild ]: As Barridacas foram Destruidas!!",8; }if($mobs == 0){ announce "[ Dungeo Guild ]: E os Baús Apareceram vão destrui-los !!!",8; goto Ondsbox; }end;//BausOndsbox:set $mobs,8;areamonster "eden_dun03",32,200,50,195,"Baú Perdido",2855,4,"DS3::Ondsboxdead";areamonster "eden_dun03",60,190,20,200,"Baú Perdido",2855,4,"DS3::Ondsboxdead";setcell "eden_dun03",86,220,86,216,cell_walkable,1;end;Ondsboxdead:set $mobs,$mobs-1;if($mobs == 0){ announce "[ Dungeo Guild ]: A última Caixa do Tesouro foi destruída!",8;announce "[ Dungeo Guild ]: Obrigado a todos que participaram.",8;disablenpc "[DG]Entrada Dungeo Guild";disablenpc "Entrada Dungeo";disablenpc "darkmall1";sleep2 7000;mapwarp "eden_dun03","prontera",150,150;

You missed an end; after OndsBdead: label, so after first kill it went straight to Ondsbox: label.

 

Also, in your Ondsbox: label amount of monsters does not correspond with $mobs variable, so I made each areamonster spawn 4 monsters. You can change it back to 1 and set $mobs to 2 instead, depending on what you want.

Share this post


Link to post
Share on other sites

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.