x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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: https://www.youtube.com/watch?v=yS-yQfo0lc0&list=PLZlv_N0_O1gbY4FN8pZuEPVC9PzQThNn1 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!

Product Version: Not Selected
Tags:
more ▼

asked Apr 12 '15 at 02:56 PM in Blueprint Scripting

avatar image

OliverThurston
70 3 7 66

avatar image Lambeaux Apr 12 '15 at 06:40 PM

Hello Oliver,

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

avatar image OliverThurston Apr 14 '15 at 10:27 PM

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. https://imgur.com/a/Ue01Q

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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!

more ▼

answered Apr 14 '15 at 10:31 PM

avatar image

OliverThurston
70 3 7 66

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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

more ▼

answered Apr 12 '15 at 07:30 PM

avatar image

vanlacke
1.5k 65 132 103

avatar image OliverThurston Apr 14 '15 at 10:27 PM

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

avatar image vanlacke Apr 14 '15 at 10:31 PM

Is the cast failing?

avatar image OliverThurston Apr 15 '15 at 05:43 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question