team specific button output

Discussion in 'Mapping Questions & Discussion' started by lunarpumpkin, Sep 24, 2017.

  1. lunarpumpkin

    lunarpumpkin L2: Junior Member

    Messages:
    72
    Positive Ratings:
    12
    lets say i have a button / prop (dosent really matter) on the map and i want to make it so that when a team shoot it, it add a point to that team but not the other, how do i achieve that?
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    filter_tfteam ? Just give the button this filter and only the specific team can activate it.

    If both teams can be scored, to apply a filter on the button, instead give the filter_tf_team the input "TestActivator" and then the filter will send theouts "OnPass" and "OnFail" depending on what team shot it.

    Now what do you mean with point? A CP? Points for PD gamemode? If it's the latter here is the solution: https://developer.valvesoftware.com/wiki/Tf_logic_player_destruction
     
  3. lunarpumpkin

    lunarpumpkin L2: Junior Member

    Messages:
    72
    Positive Ratings:
    12
    point was an exemple , i justw anted a team specific output
     
  4. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    well then just use the team filter on a button or breakable entity. Then they will only fire the outputs depending on what team the activator is.
     
  5. lunarpumpkin

    lunarpumpkin L2: Junior Member

    Messages:
    72
    Positive Ratings:
    12
    can you elaborate on that? im nto sure i understand properly the instructions ont he first post
     
  6. lunarpumpkin

    lunarpumpkin L2: Junior Member

    Messages:
    72
    Positive Ratings:
    12
    nvm got it