keoco Posted March 10, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Share Posted March 10, 2012 I seem to be able to walk through barricades(item id 1905), is there a way i can stop people/mobs not able to walk through the barricades? Quote Link to comment Share on other sites More sharing options...
Napster Posted March 10, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted March 10, 2012 use scriptcommand setwall "<map name>",<x>,<y>,<size>,<di,<shootable>,"<name>"; and delwall "<name>"; Creates an invisible wall, an array of "setcell" starting from x,y and doing a line of the given size in the given direction. The difference with setcell is this one update client part too to avoid the glitch problem. Directions are the same as NPC sprite facing directions: 0=north, 1=northwest, 2=west, etc. onground mob_id 1905 x,y Quote Link to comment Share on other sites More sharing options...
keoco Posted March 10, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Author Share Posted March 10, 2012 uhm.. more detail please? x.x Quote Link to comment Share on other sites More sharing options...
Napster Posted March 10, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted March 10, 2012 You can show script that ? i want to see script barricades Quote Link to comment Share on other sites More sharing options...
keoco Posted March 10, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Author Share Posted March 10, 2012 Well.. this is the script for it, if thats what your asking for goldroom,75,113,0,0 monster Barricade 2800,1,0,0,0 Quote Link to comment Share on other sites More sharing options...
Napster Posted March 10, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted March 10, 2012 Well.. this is the script for it, if thats what your asking for goldroom,75,113,0,0 monster Barricade 2800,1,0,0,0 this command can't use for setwall if you want rewrite new script sample script on WoeSE arug_cas01,2,1,0 script #aru01_RL00 -1,{ OnEnable: setwall "arug_cas01",238,74,8,6,0,"aru01_RL00"; guardian "arug_cas01",239,73," ",1905,"#aru01_RL00::OnBarrierDestroyed"; //24; guardian "arug_cas01",241,73," ",1905,"#aru01_RL00::OnBarrierDestroyed"; //25; guardian "arug_cas01",243,73," ",1905,"#aru01_RL00::OnBarrierDestroyed"; //26; guardian "arug_cas01",245,73," ",1905,"#aru01_RL00::OnBarrierDestroyed"; //27; end; OnDisable: delwall "aru01_RL00"; killmonster "arug_cas01","#aru01_RL00::OnBarrierDestroyed"; end; OnBarrierDestroyed: end; } Quote Link to comment Share on other sites More sharing options...
keoco Posted March 10, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Author Share Posted March 10, 2012 ohhh, what if i dont want it on a WoE castle? Quote Link to comment Share on other sites More sharing options...
kontownik Posted March 10, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 4 Reputation: 0 Joined: 12/23/11 Last Seen: October 9, 2015 Share Posted March 10, 2012 just change map name ;o Quote Link to comment Share on other sites More sharing options...
Napster Posted March 10, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 196 Reputation: 72 Joined: 12/12/11 Last Seen: November 6, 2016 Share Posted March 10, 2012 what do you want control Barricade on your script ? Quote Link to comment Share on other sites More sharing options...
keoco Posted March 10, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Author Share Posted March 10, 2012 i just want to set it to a map so players/mobs cant go through it Quote Link to comment Share on other sites More sharing options...
LCDTheOG Posted March 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted March 11, 2012 then make an OnInit label in a script and use the setwall command as he said above xD Quote Link to comment Share on other sites More sharing options...
keoco Posted March 11, 2012 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 130 Reputation: 0 Joined: 01/24/12 Last Seen: April 11, 2012 Author Share Posted March 11, 2012 hmm, im still kinda new with scripting and all.. how would the script look like say if i wanted to add it on the map... prontera, with goldroom,75,113,0,0 monster Barricade 2800,1,0,0,0 starting off the script? Quote Link to comment Share on other sites More sharing options...
LCDTheOG Posted March 11, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 223 Reputation: 36 Joined: 12/13/11 Last Seen: February 1 Share Posted March 11, 2012 (edited) just like that cept u would put Oninit: setwall (the rest of the command idk it off the top of my head) end; it will put a barricade every time you restart your server edit: idk if theres supposed to be tabs on that barricade thing but yeah just follow the directions on how to use setwall or wahtever Edited March 11, 2012 by lilcooldude69 Quote Link to comment Share on other sites More sharing options...
Question
keoco
I seem to be able to walk through barricades(item id 1905), is there a way i can stop people/mobs not able to walk through the barricades?
Link to comment
Share on other sites
12 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.