Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   dontblockothers; (https://forums.graalonline.com/forums/showthread.php?t=20609)

Tyhm 01-07-2002 11:57 AM

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....

jeff335 01-07-2002 10:43 PM

Use setshape2.

For a 32x32 square that stuff goes through:

setshape2 2,2,{0,0,0,0};

Faheria_LAT1 01-07-2002 11:19 PM

Re: dontblockothers;
 
Quote:

Originally posted by Tyhm
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 tiles that dont block arrows and block players, then add an npc using the setshape jeff mentionned, that will let arrows through, wont let players pass and the image will be hiding the tiles ;D

mikepg 01-08-2002 04:23 AM

Re: Re: dontblockothers;
 
Quote:

Originally posted by Faheria_LAT1


use tiles that dont block arrows and block players, then add an npc using the setshape jeff mentionned, that will let arrows through, wont let players pass and the image will be hiding the tiles ;D

if youre going to add tiles that block players....
then just use dontblock;....

jeff335 01-08-2002 05:58 AM

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};

Tyhm 01-08-2002 06:05 AM

Yeah, but it's gotta be touchable, that's the trouble. I can fake playertouchsme with a timeout loop, but eh.

Tyhm 01-13-2002 05:35 AM

Nope
 
0 can't be touched and 20 blocks arrows.

grim_squeaker_x 01-13-2002 05:40 AM

No other way except faking playertouchsme or the new command to be added.

taki 01-17-2002 05:03 AM

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.