50ShadesOfGrey Posted September 14, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 11 Reputation: 0 Joined: 09/14/12 Last Seen: September 21, 2012 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted September 14, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted September 14, 2012 copy the same sript but edit the mapname and npc name ? Quote Link to comment Share on other sites More sharing options...
PewN Posted September 14, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted September 14, 2012 hmmm.. i know that map. its mine!. ~.~ Quote Link to comment Share on other sites More sharing options...
Peopleperson49 Posted September 19, 2012 Group: Members Topic Count: 219 Topics Per Day: 0.05 Content Count: 1181 Reputation: 141 Joined: 01/27/12 Last Seen: April 15 Share Posted September 19, 2012 Yours as in you created it? Peopleperson49 Quote Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.