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

Riever

L2: Junior Member
Nov 25, 2011
86
4
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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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).