Announcement

Collapse
No announcement yet.

Getting custom events in a subclass

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Ok, that override thing worked. I thought I had looked for that, must have missed the event name in the override list. Thanks!

    Leave a comment:


  • replied
    You should be able to cast to the parent from the child blueprint

    Leave a comment:


  • replied
    You need to Override the function in the Child class.

    Parent
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	173.1 KB
ID:	1091961

    Child
    Click image for larger version

Name:	Capture2.JPG
Views:	1
Size:	168.4 KB
ID:	1091962

    Create your custom event within the Parent class and then in your Child class use the Override dropdown button that appears on the left in the Functions component to create an Override for the custom event you declared in your Parent class.

    Leave a comment:


  • started a topic Getting custom events in a subclass

    Getting custom events in a subclass

    I want to check something with you guys.

    I have a BP with a custom event in it. I have done a subclass BP of this thing, and I can't get the custom event in the subclass. Whether I bind it in the parent or the subclass or both, only the parent gets the event.

    Should I expect this behavior, or am I doing something wrong?
Working...
X