08-26-2010, 04:06 PM | #1 |
Join Date: Jul 2007
Location: Staten Island, NY
Class/Position: Offense Gametype: CTF Affiliations: [TALOS] .t5 Posts Rated Helpful 3 Times
|
SQUEEEEEEEEEK
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 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|