Shoot trigger, open door

Jayden

L1: Registered
Jul 28, 2010
42
1
I'd like to create an object/trigger, where when the object is shot/melee'd, it opens a door. If anyone can point me in the right direction, it'd be greatly appreciated.
 

Terr

Cranky Coder
aa
Jul 31, 2009
1,590
410
You may also want to use a damage filter, so that it has to be broken by a particular type of damage. (Bullets instead of flame, etc.)
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
You may also want to use a damage filter, so that it has to be broken by a particular type of damage. (Bullets instead of flame, etc.)

I thought that flames don't damage any type of func_breakable?
 

lucky

¯\_(ツ)_/¯
May 25, 2009
583
145
Have the func_breakable send an output to the door telling it to close. Just use the Delay box, for however long you want it to stay open for.
 

Jayden

L1: Registered
Jul 28, 2010
42
1
welp, theory could be wrong, or I could be doing it wrong. Created a brush around the entity I wanted shot at, material is trigger, changed the material type (so it will sound metalic when shot), set Render mode to none, strength 0, added the outputs...and I get nothing. Gonna mess around with it s'more now
 

lucky

¯\_(ツ)_/¯
May 25, 2009
583
145
What the.. just make the thing being shot the func_breakable.
 

lucky

¯\_(ツ)_/¯
May 25, 2009
583
145
In that case, make it a prop_dynamic instead, and use its OnTakeDamage output