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"

simple MoveForward function not working from tutorial

I'm following unreal engine's tutorial and in Chapter 1.4 I made function MoveForward in the Level Blueprint to AddActorLocalOffset by 2. But when I try to reference an Arrow object to the newly created/called function (for when player presses the "1" key), I can't connect the nodes because "Arrow Object Reference is not compatible with Self Object Reference." Even when going ahead to Chapter 1.5 and trying to reference an Arrow object Array Element to the function MoveForward, I get the same error. I did everything exacly the same as the video tutorial and using the downloaded project files. What gives? Note that the MoveForward blueprint is in a separate (function) tab from the other two which are in the event graph. alt text alt text alt text

Product Version: UE 4.22
Tags:
function.png (93.5 kB)
arrowbp.png (111.5 kB)
arrowbp2.png (158.3 kB)
more ▼

asked May 19 '19 at 06:38 PM in Blueprint Scripting

avatar image

that_lightworker
76 1 3 3

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

1 answer: sort voted first

Rookie mistake :-) The old link was removed (404 error) and this tutorial is now in the new online Learning Portal under the title Blueprint for Enterprises. I restarted it and didn't have the same problem. After comparing the two project attempts for some time ... finally found the problem. I accidently created the MoveForward function under the Level Blueprint instead of inside the Arrow blueprint. So the first picture was wrong and shouldn't be in Level Blueprint but rather the Arrow blueprint itself.

more ▼

answered May 27 '19 at 04:47 PM

avatar image

that_lightworker
76 1 3 3

(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