I have a question about something confusing

What do you mean? It’s displayed in a text somewhere?

Yes, the one with the highest value , the name of the property is shown in a text

New idea that I should have thought of before: use a trigger (or whatever block-code device you want) to compare two properties, and depending on which is bigger, smaller, or equal, it broadcasts to a channel.

2 Likes

You can use the set text (get property_) block to display properties in text. Have two separate blocks with different properties that trigger on different channels.

1 Like

Let me test it out rn4

Could you show me a picture, @wingwave ? (Im terrible at blocks)

image

2 Likes

ok so I did the blocks, @NavyCatZ and @wingwave but im confused what to do next. Do I wire it or smthing

Did you do the two blocks I mentioned in my comment?

1 Like

No, I didnt, I’ll do it rn!

Could you show me how that works in a picture, @NavyCatZ ?

image
Create two separate blocks with this same blockcode that are triggered on different channels. In the second block, type in the second property in the text block. The channel that triggers when property 1 is greater than property 2 should trigger the first blockcode that sets the text to property 1, and vice versa.

After you’ve finished with that, I’m assuming you want the text device to keep updating forever. Since you are using counters, you probably have property devices for both properties. Make both devices transmit on a channel when the property is updated, and make the trigger trigger when receiving on that channel.

1 Like

what do you mean by that? I have nothing that triggers it.

image
Press this button, set the channel to the one that sends if property 1 is greater than property 2. Put the blockcode in it, exit it, then press that button again and make it the channel that sends if property 2 is greater than property 1. Both of those channels are sent by the trigger.

that’s what i’m saying, @NavyCatZ . I don’t have a “channel to the one that sends if property 1 is greater than property 2”

It was in the first block code you made in the trigger.
image
Let’s assume the first property in the if statement is property 1. The first channel would broadcast on “set text to prop 1.” The second one would broadcast on “set text to property 2.”

1 Like

could you explain this more?
(sry my brain is not functioning today)

Lol no worries, my brain doesn’t function on Fridays either. I’ll send some screenshots.
image
This is in the first block. That block should trigger when receiving on the channel “set text to property 1.” That’s just an example channel but you can use it if you want.
image
This is in the second block. That block should trigger when receiving on the channel “set text to property 2.”

1 Like

And there you have it, Navycatz(z) helping the forums!

and that pfp came back, too…

2 Likes

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