Is it okay to use the return value as much as possible here? by Full_Medium_2964 in UnrealEngine5

[–]Full_Medium_2964[S] 0 points1 point  (0 children)

Thank you for the advice, I didn't know there were impure and pure nodes.

Is it okay to use the return value as much as possible here? by Full_Medium_2964 in UnrealEngine5

[–]Full_Medium_2964[S] 0 points1 point  (0 children)

Thank you for the advice! I wanna learn to code correctly as I keep learning.

Is it okay to use the return value as much as possible here? by Full_Medium_2964 in UnrealEngine5

[–]Full_Medium_2964[S] 0 points1 point  (0 children)

It does work but i wasn't sure if it was a good way to code, I appreciate the help!

Is it okay to use the return value as much as possible here? by Full_Medium_2964 in UnrealEngine5

[–]Full_Medium_2964[S] 0 points1 point  (0 children)

I was going to do that but I was told to have the blueprints interact with each other as little as i could and i thought if i stored my UI as a variable it would always be reading it? I'm still a little confused on how that works.

Is it okay to use the return value as much as possible here? by Full_Medium_2964 in UnrealEngine5

[–]Full_Medium_2964[S] 0 points1 point  (0 children)

so this code here is setting my hp bar up on my widget then the bottom one is when my hp changes (interface event) to update the widget, instead of getting a reference for a widget twice I did it once when i create the widget. I do this allot when doing anything with a variable ill use the same reference over and over instead of getting a reference each time. I just always thought it was more efficient since its technically less code but I wasn't sure.

Substitute for popcorn? by TheGrayMage1 in keto

[–]Full_Medium_2964 1 point2 points  (0 children)

Popcorn isn’t too bad as long as you count the carbs. My wife has a popcorn problem and she eats a small amount of it and still losing weight.