Hi all,
A bit confused, as to why my set timer by event isnt updating my widget float values.
When I move the game time logic to tick it does work and changes, I want to avoid using tick though where I can. The event IS firing off because my print string is repeating when I add it after start time.
The widget is being displayed in a widget component, but as mentioned it does change when moved to tick leading me to believe the set time by event is causing me an issue.
Thanks
I put this in a BP, containing a widget component, and it works fine
Could it be how you’re setting the text somehow?
So the text in the widget is binded to function above.
Hmm, so I dont think I set the text elsewhere.
So the seconds and minutes values arent changing when i print string on tick they stay at 0 and 2.
but the seconds and minutes are changing if i print string inside the start time event.
1 Like
If you’re against tick, you should also be against binding
Especially if you can set it once a second, from the timer…
1 Like
Vattghern4:
values arent changing
Try setting from the BP, like I did ( no bind ).
Oh nO! XD haha, why is binding bad?
1 Like
Binding is also basically tick
It’s not bad, but if you don’t want tick, then you also don’t want bind…
1 Like
Fortunatly this is the only place I was using it haha! didnt realise it ran like tick, thank you.
So I have this? I didnt use cast because I’m doing it all inside the widget, and the text changes when I use tick so i guess i dont need to ?
The text is not changing whcih is odd with this set up, as in it is the default text in the designer
Ok, I put it all in the widget
1 Like
ahhhh haha, Ill post a video, maybe that will help
1 Like
Apologies for the quality,
I’m not pewdiepie haha, (although im sure I could of made a better one than this )
Any ideas?
1 Like
ooo - your video is private so i cant see
1 Like
That’s what I get with yours…
1 Like
Apologies lol
maybe now? i set to public
This works for me
It must be something related to the HMD…
its really strange,
I had it working in my player controller (where he widget component is) when it was binded.
So interestinly i can change the float vlaues in anything other than this event.
if its in on tick or construct it changes. just not in my start timer even though it is looping through the event.
Its basically not formatting the text if it is inside the start timer event.
I’m assuming ‘event game time’ is only called once?
Can you show all the code ( I never see the bit on the right )…?