Branch node is never reached.
So I'm working on a tile based game where each tile has a number attached to it and I wanted something to happen if a character is on the same tile as something else. I had a branch node set up so that if that's true then it would print something on the screen. However, even when the two things are on the same tile, the message never appears. In fact I keep getting an error message saying something like "Accessed None "Item" from Node Branch". Am I using the Branch node wrong? EDIT:Added a photo of what I'm trying to do.
Without knowing exactly what you are doing I would say yes.
My guess is that you incorrectly accessed the actors on the tile or somehow don't correctly move a reference around.
"Error Accessed None" means that the reference you provided and which is linked as next item is invalid. An empty reference usually just pointing nowhere. Next up we have the name of the variable that's empty: "Item"
So based on what you said so far I would suggest checking if "Item" is a valid reference during runtime.
Something that will probably come in handy seeing how you use "Print String" for debugging would be a "Break Point".
Here's a documentation page about it. Quite handy for debugging blueprints!
answered Nov 17 '15 at 12:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here