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…
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.
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 ()(
)(
)(
)(
) to (⮿)(
)(
)(
)(
), but if team 2’s flag gets destroyed then it’s (
)(⮿)(
)(
)(
), and if both team 1 and 2’s flag gets destroyed then it’s (⮿)(⮿)(
)(
)(
), 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:
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!
-
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.
-
Create the Overlay: Add a game overlay and set it to display text. Choose an appropriate location for the overlay ( top left, bottom center).
-
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.
-
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.
-
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
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?
Here’s everything you will need
Equipment
5x Flags
5x Properties
5x Triggers
1x Overlay
Might be my longest mini guide for help topics![1]
Mostly 'cuz of the repetition ↩︎
Then just use buttons instead of flags and have it ‘when button pressed, transmit on’.
@Deet5 , if it worked, please mark a solution
LETS GO, IT WORKS! Thanks!
Your welcome Glad I helped someone
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.