Int variable communication between UI and character

Hi people, sorry for the english mistakes or if I’m not enough clear explaining the problem, is my first post.

The problem is that I have an int variable inside my Widget Blueprint but when I try to access it from the Character Controller it allways shows 0:

If something is not clear enough I will try to explain it better.

Thanks before hand.

The event is no used when i execute the input

But I want it like that because if i call the whole event it will fires the counter and i just want to read the variable.

But it’s called in other input:

Thanks for the fast answers, and there is a way where I can refresh the SeasonColor without firing all the events inside the Turn Right? I’m stuck in this problem since 2 days now…
And thanks another time :slight_smile:

I’m doing a radial menu system and every time I use the left and right arrow it rotates 90º and also change the SeasonColor (range 0-3). And I want to go to up and down to menus pressing the up and down arrows it have to change.
There’s and example: (epic paint skills)

Srry if I’m not good at explaining it

Did you confirm that your custom event, RotateRight, is being called/used?

Your SeasonColor variable is set to 0 by default. So if the event is never called, which means it will never be set to 3, then 0 is the correct output when accessed by your player controller.

Do you want SeasonColors to always start at 3? You can change the default value which is listed on the bottom right of our of your screenshots.

Well, I fixed it creating another event inside de Widget and doing the logic there, but still have no clue how to make it in the Character Blueprint. Thanks for the answers it helped me to figure some issues in other parts of the Blueprint where I didn’t call the event.

Here’s what I’ve made: