Can I filter a player based on whether they can be damaged by a weapon slot?

Discussion in 'Mapping Questions & Discussion' started by Namieo, Mar 8, 2015.

  1. Namieo

    Namieo L1: Registered

    Positive Ratings:
    filter_tf_damaged_by_weapon_in_slot exists, but it doesn't seem to work right for my purposes. Whether or not TestActivator returns pass or fail seems to depend entirely on whether the filter I'm testing is set to negate the outcome or not, passing if it isn't and failing if it is. The same situation occurs when I try to use said filter on a trigger_melee.

    I need to be able to tell if a player is able to be damaged by primary, secondary, and/or melee weapons, mainly to get around an annoying restriction with a plugin that disables certain players from taking PVP damage for the sake of a tutorial, but doesn't block them from capturing a point. Thank you for your time.