Referencing Integer in another BP? / casting
I'm trying to get the value of integer from another blueprint PuzzleBlock into PuzzleBlockGrid, I know this question has been asked and answered a thousand times but I've tried all kinds of different objects and none of them work. I just cannot understand the logic behind it, sometimes it's game mode, sometime's player pawn etc. etc. and even when I dont get error the casting still fails. why? Sorry for asking the same question as everyone else but I've seriously tried so many different objects that were recommended in the answers of other posts and none of them worked :( Thanks in advance.
I just did the exact same thing today and I used BPI instead of casting since I need it for several characters. Even so, the engine tax shouldn't be any higher so it's a possible solution. https://answers.unrealengine.com/questions/871425/view.html
The benefit is that it is easily reusable for any value in any blueprint. If you need to set the value and keep it set you just need a new function with exact same setup for other variables. If it just needs to receive it once you can reuse the same function again and again.
Follow this question
Once you sign in you will be able to subscribe for any updates here