How to change a Boolean?
ozboybrian
PRO Posts: 2,102
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!
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
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
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
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.
I have also had problems with this stuff when trying to animate etc.
I don't know why, sorry.
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx