Property changing Game Overlay

So I’m using one Game Overlay and 5 Properties. Each of the five properties have their own certain things. The Game Overlay I have rn has all of them listed. I know I could make the Game Overlay deactivate then A different one activate but I’m not gonna make a million of them. Help…

You can make an overlay with multiple properties, like this:


3 Likes

How do I make it change the text on the Overlay Text?

Get a lifecycle, relay, and repeater (Yes, don’t even argue.)
Wire the relay and lifecycle like this:

When Event occurs [>] Relay 

In the repeater, make it stop repeating on channel (Don’t provide a channel), and make it happen every 0.5 seconds. Also, add the channel that it transmits on when task occurs. (Channel Name: Check) Then wire the relay and repeater like so:

When task occurs [>] Start Repeater 

Now, in the overlay, do the code I replied with before in the overlay, and when you creat the block, have it do when it receives channel Check.

1 Like

I’ve tried it and I think it works somewhat. But I don’t know if I made it clear enough but I wanted it to for example, if/when team 1’s flag gets destroyed it changes (:green_circle:)(:red_circle:)(:purple_circle:)(:blue_circle:)(:black_circle:) to (⮿)(:red_circle:)(:purple_circle:)(:blue_circle:)(:black_circle:), but if team 2’s flag gets destroyed then it’s (:green_circle:)(⮿)(:purple_circle:)(:blue_circle:)(:black_circle:), and if both team 1 and 2’s flag gets destroyed then it’s (⮿)(⮿)(:purple_circle:)(:blue_circle:)(:black_circle:), and so on.

Here’s a mini-guide

Step 1

Get properties. 1 Per team. Name each property like this: Team (Team Color) Flag. Set the default text to that team’s color.
Ex: :red_square:

Step 2

Now, get that overlay. Do everything I did before.
Go to blocks. Do that text I did before.
For each text block, do the property like this:

Set text:    | Team #1 Flag
             | Team #2 Flag
             | Team #3 Flag
Step 3

Go to the flags. Scroll down, to the ‘when flag captured, transmit on channel: Team (Whatever team’s flag it is.)

Step 4

Get a few triggers. One per team.
Now, have the trigger trigger on channel Team (Team’s color)
Go to blocks. Do this code:

Set property: Get property > Team [A Team’s Color in text]
Value: [] 

Now you should be done!

1 Like
  1. Set the Property: First, create a property (like, “Correct Answers”) with a default value. This property will store the value to be displayed in the overlay.

  2. Create the Overlay: Add a game overlay and set it to display text. Choose an appropriate location for the overlay ( top left, bottom center).

  3. Connect the Property: In the overlay’s blocks section, create a new block that triggers when the property changes. Use the “Get Property” block to display the property value in the overlaey’s text.

  4. Update the Property: Use another device or trigger to update the property value. For example, if you’re counting correct answers, you could use a questioner that transmits a message when a question is answered correctly. This message could be used to update the “Correct Answers” property.

  5. Test and Refine: Test your game to ensure the overlay correctly updates when the property changes. You can adjust the trigger conditions and block code if you want @Deet5

1 Like

The flags I’m using are props not devices

Wait so if a flag is destroyed show an x on the overlay?
easy bro, one sec
also why does this have ideas on it?

1 Like

Here’s everything you will need

Equipment

5x Flags

5x Properties

5x Triggers

1x Overlay

Flags

Flag 1

Flag 2

Flag 3

Flag 4

Flag 5

Properties

Property 1

Property 2

Property 3

Property 4

Property 5

Triggers

Trigger 1


image

Trigger 2

image

Trigger 3

image

Trigger 4


image

Trigger 5

image

Overlay

image
image

Might be my longest mini guide for help topics![1]


  1. Mostly 'cuz of the repetition ↩︎

1 Like

Then just use buttons instead of flags and have it ‘when button pressed, transmit on’.

@Deet5 , if it worked, please mark a solution

2 Likes

LETS GO, IT WORKS! Thanks!

1 Like

Your welcome :slightly_smiling_face: Glad I helped someone

1 Like

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