Below this, content by Erik-Ftn


How to make a bulletsensor:

 (se entire discussion at http://www.splashdamage.com/forums/viewtopic.php?t=3995)

The following answers this question:

I know its possible to have a trigger_multiple get trigger by a person touching it, but is it possible to have something trigger by bullets touching?


Make a script_mover with these settings:
spawnflags: solid, ressurectible
health 1
scriptname bulletsensor
targetname bulletsensor_targetname

Shooting or nading it will trigger its death in its scriptroutine.

This is the scripting you 'll need:

Code:
bulletsensor
{
   death
   {
        // you might want a wait here
        // Your desired action. I set of a target_effect
        // sending a triggersignal to the targetname of the damaged ressurectible script_mover will... ressurect it

       wait 100
       alertentity smoke   
       alertentity bulletsensor_targetname
   }
}
 

Here's the same thing from GtkRadiant:

------------------

Note:

If its not solid it will not detect bullets, just explosions. _Maybe_ you could experiment with different clippings to get a shoot-through sensor (probably not), and it does not work like throwing a nade though a window, in spite of the low health.


Above this, content by Erik-Ftn