System is not letting me pick between Win or Lose change scene

Hi!
I am monitoring a Game's attribute. This is a Real attribute (game.FillRate).
If it is > 60 the system should decide for the Win scene, otherwiser the Lose scene would be displayed.

I have this "Winner Rule" actor. It is just there to monitor if we have enough information to decide between winning or losing.
It start with a Global Timer, with "0.1 seconds after" and no "Run to Completion".

Inside there is this first Rule to check if an actor finished its moves:
"If game.objectFinished = true"

If it has finished we have this other inner Rule:
"If game.FillRate > 60"
Go to Scene "Win"
Otherwise:
Go to Scene "Lose"

Outside of this Global timer I am displaying "game.FillRate" on a Display Text.

While running the Game, this attribute always change and so I have reasons to believe that this attribute is ok.

The problem is that when it comes to the Rule to decide between win or lose it always come to Win, for whatever game.FillRate number. 0, 10, 50, 80... etc.

Any ideas that could help me to solve this?
Thanks!

Comments

  • henriquesvhenriquesv Member Posts: 18

    Never mind! Sorry about it guys. It is indeed working! What I did wrong: placed the same Display Text on the Win and Lose scene. Then I changed the text for one.. which.. of course made the same effet on the other.

Sign In or Register to comment.