![]() |
dontblockothers;
Ordinary NPCs block players, other players, NPCs, baddies, arrows, thrown objects, the works.
What if we just want them to block players, and allow arrows through? It seems setshape doesn't do it.... |
Use setshape2.
For a 32x32 square that stuff goes through: setshape2 2,2,{0,0,0,0}; |
Re: dontblockothers;
Quote:
|
Re: Re: dontblockothers;
Quote:
then just use dontblock;.... |
Or there's a tile type for setshape2 that lets arrows through but not players. I believe it's 20, as in:
setshape2 2,2,{20,20,20,20}; |
Yeah, but it's gotta be touchable, that's the trouble. I can fake playertouchsme with a timeout loop, but eh.
|
Nope
0 can't be touched and 20 blocks arrows.
|
No other way except faking playertouchsme or the new command to be added.
|
I tried implementing the setshape2 command in an npc a while ago for allowing the arrows yet blocking the player (that bush script that everyone just belittled at the first glance) but, like Tyhm said, "0 can't be touched and 20 blocks arrows".
I don't get it though.. shape type 20 or whatever it is, which is supposedly simulates a fence which DOES allow arrows through yet block the player only does the latter portion. |
| All times are GMT +2. The time now is 12:29 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.