I wish I could get more of a handle on TF logic.

Discussion in 'Mapping Questions & Discussion' started by Riever, Aug 27, 2012.

  1. Riever

    Riever L2: Junior Member

    Messages:
    86
    Positive Ratings:
    0
    Dear all,

    Sorry to say I am once again stuck on TF logic.

    My problem is that I want to display a set of countdowns to either stalemate or a special mode depending on a flag. I have set up 2 sets of game_text_tf's with the appropriate text and can fire one set using the game timer such as

    On3MinRemain -> Announce_3minsbeforeLock -> Display
    or
    On3MinRemain -> Announce_3minsbeforeStalemate -> Display

    However I can't for the life of me figure how to add a flag so that I display either the Announce_3minsbeforeLock or Announce_3minsbeforeStalemate depending on the value.

    All my efforts so far have resulted in a mass of logic_cases and mathcounters. none of which have worked.

    Any advice would be gratefully received.
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Use a logic_branch. Have the timer fire Test on the branch. Use the branch's OnTrue and OnFalse to display the two texts. Send the branch SetValue to change the state (0 = false, 1 = true).
     
    • Thanks Thanks x 1