1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

How to filter team from causing damage to func_button

Discussion in 'Mapping Questions & Discussion' started by Kataan, Jul 17, 2009.

  1. Kataan

    Kataan L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    Hello

    I have a func_button that triggers an event when it receives damage.
    But I only want the event to happen when one team causes the damage.

    Is this possible, the two idea's I had are as follows, other than that I'm stumped.

    The first was to try and block one team from causing damage, so i know that it was the other team that triggered it, which I could not figure out how to do.

    The other alternative i considered, is there there some way of knowing which team's rocket caused the damage and then somehow use that.

    Any ideas, thanks in advance for helping.

    -Kataan
     
  2. Geit

    aa Geit 💜 I probably broke it 💜

    Messages:
    597
    Positive Ratings:
    1,117
    • Thanks Thanks x 1
  3. Kataan

    Kataan L1: Registered

    Messages:
    9
    Positive Ratings:
    0
    wow, I feel like a fool, I looked at that but because of the "associate control point" option i assumed it could only be used with CPs, guess i was wrong.

    It works perfectly now, exactly what i wanted.

    Cheers