Jump to content
  • 0

How to stop walking through barricades


keoco

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

uhm.. more detail please? x.x

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

You can show script that ?

i want to see script barricades

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

ohhh, what if i dont want it on a WoE castle?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  4
  • Reputation:   0
  • Joined:  12/23/11
  • Last Seen:  

just change map name ;o

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

what do you want control Barricade on your script ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

i just want to set it to a map so players/mobs cant go through it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   34
  • Joined:  12/13/11
  • Last Seen:  

then make an OnInit label in a script and use the setwall command as he said above xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   34
  • Joined:  12/13/11
  • Last Seen:  

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 by lilcooldude69
Link to comment
Share on other sites

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.

×
×
  • Create New...