Today I update Construct 3 to ver R113. And the event contains OR BLOCK does not work correctly. Please help me, thank you guys!
I tested with AND condition or just a single condition, they work right ^^! but not right with OR BLOCK.
I check it and don't think there is any event that changes the boolean back to true
Update (Solved) :
After some check, I realize that OR Block condition only works right in some case. Generally, don't mix conditions of more than one object to one OR block. Here it is:
Sorry for my bad English ^^! but that is what I understand. But how strange the way OR-block works ^^!
Update (report bug):
Thank you guys ^^ , I have report the issue to the link
Please check if there is an event after the OR-block that sets your boolean back to true.
Furthermore, the boolean MirrorAble change to false when the second condition met, but when the first condition met, the boolean MirrorAble still true.
Do you think because of the different object (o_BaseCharacter1 and o_Character1_Anim) so the OR Block not work right? how strange ^^!
Two different objects in the condition should be no problem. I noticed in your first image that you're controlling MirroAble from BaseCharacer1 and not from Character_Anim.
Sorry for that bug mistake. But the result still be the same, :(
the MirrorAble of o_Character1_Anim still not change to false when speed > 250
I have updated the solve I think. But if it is that, the way that OR-block works is strange......
You have to make sure that only one condition is true in an OR-block. If the speed is reached and the animation is playing at the same time, well, then it would be an AND-block.
Develop games in your browser. Powerful, performant & highly capable.
No Kriland, I think the OR-Block works when "at least one condition" is true, not "make sure only one condition" is true.
That means if the speed is reached and the animation is playing at the same time, the OR-Block still work as well.
But in my case, there is some error, the OR-Block does not work right ^^!
Ashley admitted that there are issues with OR-blocks in Construct. You can test if your code is working if you break this event into two:
1. Platform speed>250 ... Set test to 1
2. Animation is playing ... Set test to 1
If two events work, but when you combine them into one OR-block, it stops working, then I suggest you make a small project replicating the problem and submit a bug report here:
Thanks for hint, dop2000. I tested it now and it seems that the OR-block dont take different objects at the moment. For example: "SpriteA.X < SpriteB.X OR SpriteA.Y < SpriteB.Y --> Set SpriteA..." works but "SpriteA.X < SpriteB.X OR SpriteB.Y > SpriteA.Y --> Set SpriteA..." seems not to work.
kriand, yep, I noticed the same.
"System compare variable a=1 OR Object compare instance variable b=1" doesn't work. Definitely a bug.