I have an actor blueprint and a character blueprint that have nodes in them.
I would like to attach one more node to trigger an event, so that I can put this event in my level blueprint and run some code from that event.
I am having trouble, does anyone have some advice?
if you create the event in the character blueprint, you can cast to it and fire the event from the level blueprint
In my character blueprint, my custom event (blue) needs a target. What goes into this target module?
What do you mean cast to it? From where?
When I drag the red event into my level blueprint, my blue event in my character blueprint needs a target to work, and the character blueprint won’t compile. Could you show me a blueprint example?
Hi nnm131,
Depending on exactly what you are attempting to accomplish, there are a number of ways to go about this. Jackson’s approach is one. Another is to use Event Dispatchers, Interfaces, or Casting to get the desired results. You can find more information about each setup and their benefits here:
Event Dispatchers
Interfaces
Casting