can someone help me out with reading variables from a spawned actor and making them available to a few BPs?
current setup:
I am spawning actors on my map.
Via raycast on one of those actors, an Interface is called which runs a function on the selected actor reading its variables and passing these via custom event to another BP.
Player controller raycast on actor > Actor starts function and calls custom event > 3rd BP starts event with variables
what I am trying to achieve:
pass the variables via event dispatcher or another solution to many BPs.
I can’t get it running for a few days now and I don’t know what I doing wrong. Is it even possible to bind events to spawned actor classes? I don’t know what to put into the target at “bind event”.
/edit
added screens.
InterfaceCall in BP1
Function Return and EventDispatcher Call in BP2
bind event in bp3
the last one is with a cast (where I don’t know what to put in Object). Tried it without as well.