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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

"Current Ball" wont link to "Ball to Hold" and "Ball to Drop" (UE Live Training Stream)

Hello every one, first time user of UE here. I'm trying to recreate the example made on this live stream. I understand they are using an older version of the engine, I have come to a few parts where i had to search the current way of doing things but I'm having problems finding the solution to this one. When I drag "Current Ball" onto Pickup Ball functions "Ball to Hold" or Drop Ball's "Ball to Drop" I get a "Actor Object Reference is not compatible with Ball BP Object Reference" error.

I have verified with checking my created inputs in both the red custom event nodes (Pickup Ball and Drop Ball) with theirs in the video and every thing seems to match but I still get the error.

I hope it was easy to understand my problem, I'm still new to this. I attached a few images to show what my setup looks like.

Thanks!

alt text

alt text

Product Version: UE 4.17
Tags:
ue-problem.jpg (203.3 kB)
ue-problem-2.jpg (23.6 kB)
more ▼

asked Jan 26 '18 at 11:54 PM in Blueprint Scripting

avatar image

TheALiiEN
3 1 2

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

It sounds like your having a issue with your variable type. Try selecting your current ball variable and checking its variable type in the details panel. If im reading your problem correctly your current ball is set to the type actor instead of the type ball_bp. The input type shown in your second picture for ball to hold is of the type Ball_BP so anything you plug into that input must be of the same type.

To explain it more abstractly imagine trying to put a square peg into a square hole easy right. What your trying to do is put a peg into a square hole (peg shape not defined). so your peg could be round or square or star shaped. bottom line it wont fit right.

more ▼

answered Jan 27 '18 at 12:19 AM

avatar image

ThompsonN13
10.1k 33 9 23

avatar image TheALiiEN Jan 27 '18 at 12:35 AM

That was totally it, how did I know it was going to be a one setting thing.

Never thought to check the Get Current Ball for settings.

Thanks so much

(comments are locked)
10|2000 characters needed characters left
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