Very tricky block code, need help

Here you go!

The setup (in hide details to prevent clutter)

The setup:

Optional

You can use channels instead of wires, I use wires to show how it’s hooked up.

I optimized the block code a little and tweaked it to remove an area from the list once it is selected so that an area can’t be picked more than once. (only works for one person as of now)

Things you will need to implement yourself

You would have to implement this to run with 2 other people and have to create a “scanner” so that you can split the list into individual numbers that you can work with.
If you are using channels, change the “On wire pulse” to the channel you want, such as “loop”.

List property screenshot:

List Property "Default Value" copy and paste

010203040506070809101112131415161718192021222324252627282930313233343536373839404142

The reason why there are 0s in front of the single digit numbers is so that the list can increment more easily.

Appended Areas screenshot:


Appended Index screenshot:

Reason for Appended Index

So that the random selector changes to the current amount of items inside the list; you can’t get the 42th item when the list only contains 41 items.

Trigger settings:

Optional

You can input the “Loop” channel in “When triggered, transmit on” if you are using channels instead of wires, you can also remove “Loop” in Trigger when receiving on if you are looping with the block itself.

Wiring (only if you are using wires):

PS: if you need additional resources, I can send you a screen recording of me testing the system or making the system step by step.

2 Likes

No, I enjoy the pings. However, It seems that teapot here has solved your problem before I could, so use his solution.

For the property “List” what does it end at?
I’m guessing 42, but want to be sure.

people actually use block code? haven’t seen that on the forums at all.

Excuse me?

2 Likes

wasn’t tryna be mean, sorry

I wasn’t implying that you were. Block code is just an extremely important part of GKC that a lot of advanced users use all the time.

It ends at 42.

I was about to help and then I saw the stuff and gave up…

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