Why isn't this block code working? (May need a debugger)

Are the other nine barriers activated on the “is not claimed” channel?

No because the properties can’t return to being false, once they are true, they will forever be it[1]


  1. why does that sound so dark :skull: ↩︎

Wait…I think I’m confused, then how are the white barriers activated?

Also, are the properties all originally set to false?

The white barrier are activated if their property is false, which is their default value.

So when I first start at 1, it would look like this?
:white_large_square: :white_large_square: :white_large_square:
:white_large_square: :white_large_square: :white_large_square:
:red_square: :white_large_square: :white_large_square:
Then if I added 1 to options
:white_large_square: :white_large_square: :white_large_square:
:red_square: :white_large_square: :white_large_square:
:white_large_square: :white_large_square: :white_large_square:

Nonono, you start with 1, when the white barrier appears that indicates that the property is open for claiming, and when a red barrier appears it indicates that it has already been claimed.

So…

:white_large_square: :white_large_square: :white_large_square:
:white_large_square: :white_large_square: :white_large_square:
:red_square: :white_large_square: :white_large_square:
Then if I added 1 to options
:white_large_square: :white_large_square: :white_large_square:
:red_square: :white_large_square: :white_large_square:
:red_square: :white_large_square: :white_large_square:

Ok (For example, A3 is true, so it will be red, B3 is false, so it will be white, C3 is true also)

If I add one

A B C
:red_square:l

If I subtract ten

A B C
:red_square: I :white_large_square:

If I subtract another ten

|A | B | C|

A B C
:red_square: I :white_large_square:I :white_large_square:

I’ll do something else…
It’ll take a sec…

Wait, it’s a little hard for me to visualize that, could you make it like the 9 by 9 grid you showed at the beginning?

1 Like

Wait, so it’s like my current position and I have to do something to claim it? I don’t immediately get it when I enter it?

No, the barriers are just activated when you try to check it out.

That’s why my other problem is about trying to connect 18 channels to each barrier.

Everyone @Here I have found a simple solution.

This whole problem happened not because of the block code but the bugged triggers that that for some switched their channels but not in creative so using trigger loops to make the block code work full time solved it.

(Thanks @Toothless for trying to solve this problem)

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.