50ShadesOfGrey Posted September 14, 2012 Posted September 14, 2012 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? Quote
Emistry Posted September 14, 2012 Posted September 14, 2012 copy the same sript but edit the mapname and npc name ? Quote
PewN Posted September 14, 2012 Posted September 14, 2012 hmmm.. i know that map. its mine!. ~.~ Quote
Peopleperson49 Posted September 19, 2012 Posted September 19, 2012 Yours as in you created it? Peopleperson49 Quote
Question
50ShadesOfGrey
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..
/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.