| Blockland Forums > Help |
| VCE - Finding Brick Color |
| (1/1) |
| Wesley Williams:
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? |
| Darksaber530:
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. |
| Wesley Williams:
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. |
| Wesley Williams:
Although it is necessary to close if there are multiple onVariable events following the if statement :) |
| Navigation |
| Message Index |