I really want to combine filters, but the entity is confusing me a bit. I just want to clarify a few things.
1.if negate is set to "yes", this means that if my combined filters detects blue spies when they hit a button, blue spies will not allowed to hit that button. (as opposed to no meaning that only blue spies can hit that button)negate equalling yes is the same as it being set to disallow.
2. should the filters that the filter_multi holds be set to disallow or allow? Say I wanted to not allow blue spies, should I set the filter_activator_tfteam and the filter_activator_class to allow and the filter_multi to negate=yes or do I set them both to disallow, still setting negate to yes
still not exactly sure if the "allow" and "disallow" being set on the filters matters once in the filter multi, but it might work as follows: if it is set to allow then whatever is detecting will output true and if disallow then everything else is true. The filter_multi says whether to allow or disallow what is true.
3. can I combine filter_multi's? I'd think so, but say I wanted to only allow either blue spies or red heavies. Could I have 2 filter_multi's set up, one to allow red heavies and one to allow blue spies, and then a third filter_mutli with OR and negate set to no?
the answer is yes. Filter_multi's can be combines in other filter_multi's
4.This question isn't exactly on filter_multi, but on filter_activator-class. What do I put in for the classname? A number, or the classname actual string, as it seems to suggest. i.e. demoman = demoman OR demoman = 7
the number exists on the wiki and I was using it wrong. Filter_tf_class is the one and does not exist automatically in hammer. it must be added via the FGD. It also has a dropdown menu.
Questions answered by frosty and some testing.
1.
still not exactly sure if the "allow" and "disallow" being set on the filters matters once in the filter multi, but it might work as follows: if it is set to allow then whatever is detecting will output true and if disallow then everything else is true. The filter_multi says whether to allow or disallow what is true.
3. can I combine filter_multi's? I'd think so, but say I wanted to only allow either blue spies or red heavies. Could I have 2 filter_multi's set up, one to allow red heavies and one to allow blue spies, and then a third filter_mutli with OR and negate set to no?
the answer is yes. Filter_multi's can be combines in other filter_multi's
4.
the number exists on the wiki and I was using it wrong. Filter_tf_class is the one and does not exist automatically in hammer. it must be added via the FGD. It also has a dropdown menu.
Questions answered by frosty and some testing.
Last edited: