Damage filter in func_button

Discussion in 'Mapping Questions & Discussion' started by Phil25, Sep 19, 2015.

  1. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    I've been trying to make a button which responds only to being damaged by a melee weapon for so long with no success whatsoever. However I edit the damage filter it just doesn't work. Neither for a melee hit or explosion damage or any other type that I tested.

    Is there something I'm missing?
     
  2. Egan

    aa Egan

    Messages:
    1,302
    Positive Ratings:
    1,478
    • Thanks Thanks x 2
  3. Phil25

    Phil25 L1: Registered

    Messages:
    49
    Positive Ratings:
    8
    Wow, didn't know such thing existed. If it works it's gonna help me out a ton. Thank you very much! :D

    EDIT: Yup, works like charm!
     
  4. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    931
    Positive Ratings:
    894
    Isn't that one of the entities used to make tr_target work?
     
  5. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    Well **** me that's a useful filter. Saves having to muck around with math and timers to stop people shooting multiple buttons.