Author Topic: VCE - Finding Brick Color  (Read 376 times)

Please help me figure out why this simple event does not work:

I have tried VCE_ifVariable as well, but without success. Is the variable not colorID?

I think you need to have a closing event on the end IE instead of 1 it should be 1 1

onActivate -> NAMED BRICK_test -> VCE_ifValue [<var:br:colorID>] == [7] [1 1]
I know its weird but if you don't have a closing event it won't work.

No, I used to close it like that but got lazy and started just putting one digit for the opening/closing.

Thanks for the input though.

Although it is necessary to close if there are multiple onVariable events following the if statement :)