I am having issues creating an event inside a function.
My function calls a “Bind Event to On Destroyed”. When dragging out the Event node, I call Create Event. After dragging the output of my bind event actor into the Create Event “Object” input, I select “Create a matching event” from the dropdown.
Afterwards, a new custom event appears inside my function, let’s call it “RespawnEvent”:
Now, when I search for the event in my “Create Event” dropdown, it just doesn’t appear:
The object on your CreateEvent is the object in which you want to look for the correct event. So if you spawn an actor and put this actor in the object input, this actor needs the function. If the function is inside the blueprint where you spawn the other actor and not in the other actor, use SELF as object.
Imho, it’s either a naming clash, an uncompiled blueprint or…
…are you doing this inside a function by any chance?! Probably not, seeing a latent node on display. I’d recompile both actors, get rid of the dodgy nodes and try again.
This has always worked in UE4. There is a chance this does not work in UE5 ofc, can’t help here.
Oooh, there we go. I was already confused since I wasn’t able to create a Custom Event randomly. Alright, I guess I’ll stick to my functional rework then for the moment and maybe think about an event-y function later on. Thanks a lot!