I'm following the UE4 Endless Runner w/ blueprints tutorial. I've followed the tutorial exactly but I can't see my 'CanTurn' boolean in the level blueprint. Any idea why?

I’ve been following this tutorial: and have become stuck in one of the last parts of the first video.

The TL;DR is: I can’t get my ‘CanTurn’ boolean to appear in the level blueprint.

The longer version: I’m watching a UE4 tutorial series to create an endless runner using blueprints. I’ve followed the tutorial exactly but can’t seem to do one of the last steps in the first video, namely triggering the ‘CanTurn’ boolean using a triggerbox in the level blueprint. Connecting the ‘Cast to RunCharacter’ box to the ‘CanTurn’ boolean in the level blueprint is impossible as ‘CanTurn’ isn’t anywhere to be seen when searching for it.

As far as I’m aware all my connections are exactly as the tutorial specified as are all my booleans, vars and the various other things I created. I have noticed an oddity, but I’m not sure how it connects to the level blueprint not having the ‘CanTurn’ boolean visible to it. When selecting the ‘TurnCorner’ group of blueprints to name them with a comment, the ‘DesiredRotation’ box will get a red error box over it after commenting. However, this goes once the blueprint has been complied. From my limited programming knowledge all I can guess is that my ‘CanTurn’ boolean is not publically accessible to the level, but i’ve checked and I can see that the ‘private’ box is not ticked.

Thank you for your time!

Hello Oliver,

May I request a screenshot of this blueprint? Followed by the precise error messages that are being thrown?

My first guess would be you’re not dragging out “As Run Character”. Drag out and search for can turn, because remember the variable is being set on RunCharacter, not the level blueprint

Hi Lambeaux, sorry for thelate reply. There is no error message I’m afraid, just the red error box that appears over my desired rotation struct when I press ‘C’ to comment that disappears on compile. Blueprint - Album on Imgur

I’m dragging asruncharacter I’m afraid and when I search for my bool in there, it can’t be found.

Fixed it! The bool was not editable which I guess meant that other blueprints couldn’t see it and was maybe a value that seemed to be ticked by default in older versions of the engine? I don’t know but I’m just happy I mangaged to start working on this project again!

Is the cast failing?

I found the problem, I hadn’t made the bool a public variable! Silly mistake on my part :stuck_out_tongue: