AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bullet (https://forums.alliedmods.net/showthread.php?t=136565)

GXLZPGX 08-27-2010 16:06

Bullet
 
Alright, I seen some sort of tutorial around here that described how to to check if a player was shot through a wall, glass or such. Since I cannot find it, I'm almost sure one of you know how to detect this. Point me in that direction please.

nikhilgupta345 08-27-2010 16:34

Re: Bullet
 
Register takedamage and then get user aiming of the attacker and check if it's a player. Otherwise it's a wall.

Maybe?

Kreation 08-27-2010 16:52

Re: Bullet
 
I got this.

Styles 08-27-2010 16:54

Re: Bullet
 
TraceLine?

GXLZPGX 08-27-2010 19:53

Re: Bullet
 
Quote:

Originally Posted by Styles (Post 1283616)
TraceLine?

Yes.

As for Nik, that wouldn't work. I want to know if it's passing through the wall, and hitting a player.


All times are GMT -4. The time now is 09:25.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.