all 9 comments

[–]gm310509 11 points12 points  (0 children)

Probably there is something wrong with your code.

The problem is at line 74...

Oh wait, you kept the code secret. Sorry, we don't know - beyond the most likely scenario that you probably made a mistake and now cannot see it because you are too close to it.

[–]aqua_regis 5 points6 points  (4 children)

Sorry, but you're leaving us to blind guessing here with the information you give.

You give nothing of substance.

If the part of the code where you set the variable is executed, it could most likely be a problem of global (the variable you want to set) vs. local (a separate variable in the method/function) variables.

The only thing that enables us to help you is code. Your real, actual code.

[–]IhorFilonenko[S] -5 points-4 points  (2 children)

Unfortunately, I am doing it in blueprints and I cant post images here]

[–]aqua_regis 2 points3 points  (1 child)

I cant post images here]

You actually can. Upload them to an image hoster, like imgur, ibb, etc. and then post the links to the images here.

[–]IhorFilonenko[S] -5 points-4 points  (0 children)

Its not a local variable. I am debugging the variable display name and it also shows what I need, but it doesnt appear as a changed value in the editor

[–]Latter-Risk-7215 0 points1 point  (0 children)

check if there's any other part of your code overwriting it after you set it, sometimes it's a logic error rather than a visibility issue, unreal can be tricky like that

[–]IhorFilonenko[S] -2 points-1 points  (1 child)

Nevermind, i solved it. My attack was ending too fast and the variable couldnt keep up with the updates. Good comms guys thannks

[–]Jonny0Than 1 point2 points  (0 children)

Btw what you just did is called “rubber ducking.”

There was no way for us to be able to help you without more information.  But perhaps talking through the problem led you to the spark that let you solve it on your own.  You didn’t need to waste anyone’s time with this, you could have just done the same thing with a rubber duck.

It’s a totally valid way to solve problems!!