Filter class with trigger_push

Discussion in 'Mapping Questions & Discussion' started by sunbeam, Jul 21, 2015.

  1. sunbeam

    sunbeam L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    I've been trying to filter class on a trigger_push I'm using, allowing all classes except for the filtered one (medic) to pass it. So far I've failed all my attempts, even though I've read the wiki multiple times about it, and now I'm looking for some help from you people.

    Is it possible to even do what I want? I'm using a filter_activator_class, I've tried both "Medic" and the class number (5 I think) but neither of them seem to work when I walk through the push trigger. If the filter is set at "allow" all classes can walk through the push without being affected by it, but if I change the filter to "disallow", no classes at all can walk through it (speed set at 1000, it's working like a wall).

    Some help would be appreciated.
     
  2. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    934
    Positive Ratings:
    901
    Filter_activator_class is entity classes, not tf2 classes.
    Valid classes are things like func_door, prop_dynamic. Medic, Engineer or Spy would not do a thing.
    To do what you want to happen, some weird ass entity work is required that I don't know shitz about.
     
    • Thanks Thanks x 1
  3. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,032
    Positive Ratings:
    3,978