I don’t know what object to put in the object pin of my caster, I always end up getting an error, please help!
You need to put the object reference you are casting to, in this instance Pills_Brown. In this instance if you have a reference to Pills_Brown, just add that. If not, it looks like you’re working in Level Blueprint, you can click on the Actor in the Editor and then go to Level Blueprint and choose “Add reference” with a right click.
Can someone please tell me how I can get rid of the warning? Thank you ![]()
Sorry, didn’t check my emails for a while. Looks like you don’t need to cast at all. It should have worked, even with the warning - did you get the desired behavior?
You can use that reference straight away to your bindeventtocamdispatch ![]()
As @anonymous_user_f61a7ed1 told you, that warning indicates that you can pass the reference directly
I found this link that explains pretty well how to use the event dispatchers, it may help you in the future!
Event Dispatchers explained - Finally! - Blueprint Visual Scripting - Unreal Engine Forums!

