Goal:
Create an ent that takes damage. When you shoot the ent, the bullet stops. So, you cannot shoot through the ent and hit players or other ents behind it.
Right now I'm making an ent and hooking Ham_TraceAttack on info_target, but messing with the trace result doesn't do anything.
Help plz. I'm probably overlooking a nice pretty way to do this. I'm not using pev_takedamage, maybe I should do that?
EDIT: I found joaquimandrade's method here:
http://forums.alliedmods.net/showthread.php?t=94742
I don't like it because you need to hook so many hams just to stop a bullet. Share your ideas.
__________________