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"

Can't get Bind Event to OnDestroyed to work

I'm new to Unreal and I'm learning with Unreal Engine 4.X By Example. I'm on Chapter 2, but I'm stuck in the part where I should link a Cast to and a Custom Event to Bind Event to OnDestroyed.

Below is a figure from the book and after it a print screen from my blueprint. I can't tell the difference, but mine is not working, I get the message "BH Character Reference is not compatible with Self Reference". But, as I understand it, the Self in this case is the BH_GameMode.

alt text

My print screen below has some more nodes because I've followed along with the text hoping I could find the differences.

alt text

Also, I've downloaded the finished projects from the book, but this one is incomplete. I've already sent an e-mail to Packt.

Thanks in advance.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 02 '16 at 10:24 PM in Blueprint Scripting

avatar image

Saitodepaule
13 1 1 5

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

1 answer: sort voted first

I had the same issue right now. You need to drag from As BH Character and create Bind Event to OnDestroyed, then from the event on that node, drag out and create a custom event, which will have Destroyed Actor as an output - not create the custom event first as the book says! :)

alt text

Edit: Hope I explained well enough. Just started with UE some weeks ago myself.

more ▼

answered Oct 05 '16 at 07:55 PM

avatar image

xenoph
51 1 4 5

avatar image DigitalCraze Nov 02 '17 at 01:03 PM

Thank you for this!!!

avatar image Kyle Brechin Feb 25 '18 at 04:40 AM

Still a fix in 2018. It's crazy that you can pull from Character_Respawn to Bind Even to OnDestroyed. Still needs to be done in reverse.

avatar image robthe1 Apr 15 '18 at 06:31 AM

yes this helped so much thank you i was following the tutorial online and this helped greatly the online help was not specific enough!

(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