Help with a game overlay

So I use blocks to make the overlay update to a property every second(for now) and use triggers with blocks to update that property. The thing is that the game overlay just doesn’t update, it might be the property’s fault or the overlay itself. Also I tested the triggers and they work because I can see them in game.

2 Likes

If you want the overlay to correctly reflect a property value, you can use blocks that trigger when the property value changes.

1 Like

that doesn’t work for some reason

Please don’t bump any topics within five days.
For this, I would suggest trying to make it so that the trigger also gets triggered every second. Otherwise, it will only change once.

This is what they’ve already done, if you look at the original post.

Tin can, could you provide some screenshots of your system so we can help better? From the description you’ve provided, the mechanism should work perfectly fine.

I recommend changing the overlay from updating every second to updating when the property changes because it removes the overlay lag.

If this isn’t what your asking for idk, you need to provide images please.

Picture of what I have so far


More info: So the trigger loop has it so when the trigger is triggered, it broadcasts a channel
and the overlay has blocks that when that channel is triggered, it sets it’s text to a property(off-screen.) So the bottom trigger just changes the property and that wire under just activates it.

Go into the overlay block and ensure that you have the right property name. If it’s even one character or errant capitalization off, then the block won’t work.

A picture of what you have in your block would be appreciated!


property

trigger blocks

overlay blocks

Alright. I see your issue.
When you set a property, the first parameter (place where you can put in other blocks) only accepts the name of the property as a string. You don’t need the Get Property block for that part.
So the code for the trigger block would be like:

Set Property ("Text")
Value (72)

Everything else should be fine! Hope this helps.

I’m pretty sure I did that but let me do it again.

Yeah it still doesn’t work for some reason

Is the Text property’s property type set to Text? [1]
If it is, simply changing it to a number property should fix it. You can’t set a text property to number, but Gimkit automatically converts numbers to text when setting text in overlays and text devices.


  1. Quite the mouthful. Do you understand what I’m saying? ↩︎

yes it is set to text

Sorry, I meant “if it is”.
Set it to a number property!

alright I’ma try that

Wait I fixed it, I just made the math value into a text value and it worked.

That didn’t work for me

What I meant was that you can’t set the value of a text property to a number, but when you attempt to change the text in a game overlay, it will automatically convert numbers to strings.
The problem was you were trying to set the text property to a number.

Glad you figured it out though! Make sure to mark a solution.

Is the trigger thats updating the property being triggered by anything?

Are there any spelling errors changing the channels/properties?

Is the property a number property and or player scoped?