Display a game_text_tf message which is triggered by the flag carrier only

Discussion in 'Mapping Questions & Discussion' started by vonDelson, Mar 22, 2010.

  1. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Hello all!

    Does anybody know an easy way to display a game_text_tf message which can only be triggered by the flag carrier? For my map, I want both teams to know where the flag carrier is via a game_text_tf. Thus, when the flag carrier is in area X, the text displayed to both teams should be "the flag is in area X".

    Placing a trigger_multiple brush which triggers a game_text_tf is easy, but the game_text_tf message is displayed by any player that occupies the trigger_multiple brush. Even enabling the trigger_multiple brush via an OnPickupFlag-Trigger_Multiple-Enable doesn't work.

    I also tried getting a filter_activator_name entity to work, but with no succes (I don't have any experience with the filter entities though). Another thing I tried is parenting a brush with the flag which activates the trigger_multiple, but I couldn't get that to work either.

    I think it should work using the !activator thing? But I truly have no idea how...

    Any help will be greatly appreciated!
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    Use func_flag_alert and turn off the audio warnings. It's got flag detection and different outputs.
     
    • Thanks Thanks x 1
  3. vonDelson

    vonDelson L1: Registered

    Messages:
    42
    Positive Ratings:
    0
    Thank you so much! I apparently completely overlooked that brush. I'll try it tonight...