filter_tf_condition

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
trigger_add_tf_condition
 

Egan

aa
Feb 14, 2010
1,375
1,721
It wasn't added to the FGD but it might still work for the time being, here it is in Aug 29's rd_asteroid:

3m4ObUz.png


Also you could just change how your entities work: filter the hurt trigger to anyone not named 'incart' using a negated filter_activator_name, just name the people who should be in carts with a 'addoutput - targetname incart'.
 

Barracuda

L1: Registered
Sep 24, 2009
41
37
No. I need to check for a player not having the bumper car condition, and kill them if they are on the field.

That's what I did in my bumper car prefab. Maybe you want to have a look at it. The entity isn't in the FGD, but it's definitely in the engine, so you have to change the class name and keyvalues manually. Alternatively, you can also add this to your tf.fgd:

Code:
@FilterClass base(BaseFilter,Condition) iconsprite("editor/filter_class.vmt") = filter_tf_condition :
	"A filter that only allows players affected by a certain condition. "
[
]