How to change a Boolean?

ozboybrianozboybrian PRO Posts: 2,102
edited January 2012 in Miscellaneous
Hey Gummy Bears.

I have a rule - One of the Rule conditions is that X Boolean is true.
But as soon as it does what it's gotta do, I want to chance X Boolean to false.

Dunno why it won't work... I used a timer as well. Within the rule, but there is either a clash or no effect.

Thanks in advance!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    You could try 2 rules:

    You have a rule that conditions is that X Boolean is true.
    Change it to true

    Then in another rule say
    When attribute game.X boolean is true,

    timer - after whatever,
    change attribute game.X boolean to false.


    Hope that helps
  • ozboybrianozboybrian PRO Posts: 2,102
    Yeah man no luck... P.S reply to my email ;)

    I have an actor. He animates left and right.
    Moves left and right.
    But when he's going left he actually animates the turning function.
    I only use the left and right keys.
    I want to be able to to animate left turn... then animate left walking after with just the left key.
    Dunno why it's not working.. should be simple.
  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited January 2012
    I replied about an hour ago m8.

    I have also had problems with this stuff when trying to animate etc.
    I don't know why, sorry.
  • ozboybrianozboybrian PRO Posts: 2,102
    It's all good mate... There has gotta be a simple way to do this! ..
  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    Are u using a change image for the L and R or spawning a different actor?
Sign In or Register to comment.