keoco Posted March 10, 2012 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
Napster Posted March 10, 2012 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
Napster Posted March 10, 2012 Posted March 10, 2012 You can show script that ? i want to see script barricades Quote
keoco Posted March 10, 2012 Author 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
Napster Posted March 10, 2012 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
keoco Posted March 10, 2012 Author Posted March 10, 2012 ohhh, what if i dont want it on a WoE castle? Quote
Napster Posted March 10, 2012 Posted March 10, 2012 what do you want control Barricade on your script ? Quote
keoco Posted March 10, 2012 Author Posted March 10, 2012 i just want to set it to a map so players/mobs cant go through it Quote
LCDTheOG Posted March 11, 2012 Posted March 11, 2012 then make an OnInit label in a script and use the setwall command as he said above xD Quote
keoco Posted March 11, 2012 Author 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
LCDTheOG Posted March 11, 2012 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
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?
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.