PDA

View Full Version : filter breakable objects?



awesomebillfromdawsonvile
8 Sep 2009, 10:03pm
Ok heres what im trying to do. i parented a trigger hurt to a nade i carry around, and i want that hurt trigger to be able to break one breakable brush in the map( that brush happends to respawn, but thats besides the point i belive.) I would like to make it so that
the breakable brush can be broken by hand or with the hurt trigger, but it would take way less time if you used the trigger hurt.

So basicly i need an explanation on filtering trigger hurts and the damage they dish out to the world and players. Like i said, i want ONE hurt trigger to hurt ONE breakable brush, and nothing else.

Bob Loblaw
11 Sep 2009, 12:12am
Create a filter_activator_name.
Name:Filter
Filter Mode:Allow
Filter Name:Break (or the name of your func_breakable)

Go into your trigger_hurt and set its filter to Filter.

Now your trigger_hurt will only damage things that pass its filter (in this case it is only allowing the breakable object, so it will only damage said object)