Jump to content
  • 0
karazu

NPC that summons mobster "Barricade"

Question

Can someone make me this script that if you will activate it, i will summon a Barricade in to that specific place? just like what is happening in the WOE SE? because i want to make the barricades as wall!

anyone?

its like if u activate it it will summon a barricade in ex: prontera 150 150

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

In fact barricade would never block the character. You have to use another command for make some tiles unwalkable :

-	script	EP7_abysses	-1,{
OnInit:

donpcevent "EP7_abysses::OnSpawn";
end;

OnSpawn:

       setcell "ars_fild58",94,103,101,103,cell_walkable,0; //non walkable
//Salle 1
monster "ars_fild58",94,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",95,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",96,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",97,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",98,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",99,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",100,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";
monster "ars_fild58",101,103,""+getmonsterinfo(1905,0)+"",1905,1,"EP7_abysses::OnBossDead";	   

set [email protected]_ep7abyss1,8; //need to destroy all barricades for enter
OnBossDead:

set [email protected]_ep7abyss1, [email protected]_ep7abyss1-1;
if([email protected]_ep7abyss1==0) {


mapannounce "ars_fild58","Barricades gone !",0,0x6CC6666;}
setcell "ars_fild58",94,103,101,103,cell_walkable,1; //walkable
sleep2 120000;
monster "ars_fild58",167,177,""+getmonsterinfo(3927,0)+"",3927,1,"EP7_abysses::OnBossDead2";
}
end;
}

Link to comment
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.   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.



×
×
  • Create New...

Important Information

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