Jump to content
  • 0

Question

Posted

Hello, I'm attempting to create the barricades that are currently in WoE SE I believe? Except, I'd like to have them in a different map and position?

Would anyone mind helping me with this?

I got this, but it doesn't accomplish much..

- script Barricade 78,{
OnInit:

donpcevent "Barricade::OnSpawn";
end;

OnSpawn:

setcell "phang_cas01",69,34,73,34,cell_walkable,0; //non walkable
monster "phang_cas01",69,34,""+getmonsterinfo(1905,0)+"",1905,1,"Barricade::OnBossDead";
monster "phang_cas01",70,34,""+getmonsterinfo(1905,0)+"",1905,1,"Barricade::OnBossDead";
monster "phang_cas01",71,34,""+getmonsterinfo(1905,0)+"",1905,1,"Barricade::OnBossDead";
monster "phang_cas01",72,34,""+getmonsterinfo(1905,0)+"",1905,1,"Barricade::OnBossDead";
monster "phang_cas01",73,34,""+getmonsterinfo(1905,0)+"",1905,1,"Barricade::OnBossDead";    

set $@monster_Barricade1,5; //need to destroy all barricades for enter
OnBossDead:

set $@monster_Barricade1, $@monster_Barricade1-1;
if($@monster_Barricade1==0) {


mapannounce "phang_cas01","First Gate Destroyed! ",0,0x6CC6666;}
setcell "phang_cas01",69,34,73,34,cell_walkable,1; //walkable
sleep2 120000;
monster "phang_cas01",71,37,""+getmonsterinfo(3927,0)+"",3927,1,"Barricade::OnBossDead2";
end; 
}

/Edit: I'm adding these to a different map, which will be a wall of barricades. The people will have to break the barricades to pass through.

I changed the entire script, so I just have the barricade along with a setwall.. It doesn't allow me to attack the barricade though?

3 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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...