I was trying to use part of a lua you made for GT for ff_r123 and it works fine for stopping the bullets from going through. But, the only issue is when you attempt to walk through it crashes HL. Here is script:
Code:
------------------------------------------
-- remove projectiles (Credit to Squeek)
-- http://forums.fortress-forever.com/showthread.php?t=19904
------------------------------------------
remove_projectiles = trigger_ff_script:new({ })
function remove_projectiles:allowed(allowed_entity)
if IsNotProjectile(allowed_entity) then
return false
end
return true
end
function IsNotProjectile( allowed_entity )
return IsPlayer(allowed_entity) or IsGrenade(allowed_entity) or IsTurret(allowed_entity) or IsDispenser(allowed_entity) or IsSentrygun(allowed_entity) or IsDetpack(allowed_entity)
end