Triggering an Event (involving filters)

Discussion in 'Mapping Questions & Discussion' started by Beetle, Jan 18, 2010.

  1. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    This is simple to explain, and I thought it would be simple to accomplish, but its not working.

    I want a trigger_multiple to activate a game_text_tf when someone triggers it, but only if they have the intel. I set it up with the trigger_multiple having a filter with the name of the intel, but that didn't work. Any help?
     
  2. Nutomic

    Nutomic L11: Posh Member

    Messages:
    888
    Positive Ratings:
    177
    You could parent a func_brush to the intel, and use the name of that as a workaround.
     
  3. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I'll see if that works. Thanks! brb...
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    func_brush does not have trigger interaction, and anything parented to the intel loses trigger interaction if it has it.

    Use a func_flag_alert and disable the audio announcements so you can just use the outputs to trigger things.
     
    • Thanks Thanks x 1
  5. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Thank you. I thought I had tried the alert entity, but I guess I didn't. That worked.

    Now I just have to ask, why didn't my method work? It seems pretty solid.
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    The item_teamflag entity has no trigger interaction. They coded func_flag_alert specially for such things back when we held the CTF/PLR contest.
     
  7. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    ok well at this point it seems to only be working for the BLU team carrying the red intel. I assume the TriggerOnTeam1 means blu team, so for its trigger i selected team one and for red i selected team2. at this point im trying everything.


    edit: Nevermind. Switching the Team field to "Any" fixed it.
     
    Last edited: Jan 18, 2010
  8. Tehrasha

    Tehrasha L3: Member

    Messages:
    115
    Positive Ratings:
    26
    Are trains the same as intel, in that they cannot cause trigger events?

    Ideally, I need to trigger an event if two trains should happen to collide.

    Edit: neh mind. I figured it out. I was trying to use 'filter' by itself, instead of with a filter_activator_name.
     
    Last edited: Feb 19, 2010