I have been trying to troubleshoot this problem for a long time.
So I’m making a game where if you talk to an NPC and choose the right choices you will get +1 Affection from them.
This works perfectly fine within the Task Blueprint!
BUT IT DOES NOT WORK ANYWHERE ELSE AND I’M PULLING MY HAIR OUT RIGHT NOW
Basically what I’m trying to do is to get the current Affection (Integer) value from the Blackboard (with get value as Int) and then print stringing it from the Third Person Character Blueprint as well as the HUD Widget.
And the picture here is what I’m working with
The good thing is that no errors came out when I played it, but it always shows as 0, even though the print string from the task (picture on the right) shows the real value.
Please let me know if I somehow did something wrong, or if I’m crazy and making all this things up, or if you have a better foolproof way.
Thanks in advance