View Single Post
Old 02-08-2008, 12:52 AM   #8
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Quote:
Originally Posted by -=Roland=-
Semi related. I need to see if there is a way to prevent a player from shooting or throwing nades in an area but still move.
Nade explosions can be removed with a noannoyances trigger_ff_script if I'm not mistaken. Look in one of the includes (under the noannoyances definitions) for the code that removes grenade explosions.

Player shooting I'm not sure about (I think you can block/remove projectiles but I'm not sure how), but you can strip all weapons or all ammo using:
Code:
player:RemoveAllAmmo(true)
and/or
player:RemoveAllWeapons()
__________________
#FF.Pickup ยค Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington
squeek. is offline   Reply With Quote