How to change structure variable

Use Set Struct (your struct). Probably you need to add before Make Struct node.

I’m trying to change the score in my GameState player structure with no success for some reason, after setting the variable i do a print screen and it still shows 0, I have also tried to use set by ref with the same results.
What am I missing?

This might not be the issue, but worth mentioning just in case. You have set your index to 1 when getting and setting the struct. Arrays are 0 based so if you want player 1, you should set them to 0. 1 will be the second player in the array.

Apologies if you know this and you’re intentionally working with the second player.

I’ve put 1 just for testing purpose, it was set to 0 before

I not check your screen more precisely before. How many players you have? If only one, you should get 0 instead of 1.

I see. Try print string with Player Name (you have this variable) to see you get it from correct player or not.

Doesn’t work, tried that aswell, the only way it works is by casting to my gameState getting the player array variable and setting it that way, which is not ideal for me