I’m trying to cause the camera to shake whenever the player gets hit, by using the camera shake blueprint and a custom event to trigger it. The problem is that I need a reference to the camera shake custom event and I can’t seem to find it.
Any help would be appreciated.
Hey @Andrew_Destructo!
Okay, so we’ll need more information here.
Is the Camera Shake a full Blueprint? You can’t cast to something without an input object.
Also try to avoid duplicate names, it makes it hard to differentiate. Try Event Camera Shake and BP_Camera_Shake.
If Camera_Shake is an Actor in the world, you need to get that. If Camera_Shake is a component on the player, get your player, cast to (whatever your player blueprint is), as that Get your camera shake component, and cast there.
Other than those two suggestions that depend on the camera_shake being a specific thing in a specific place, there isn’t much we can do. But if you get us more information we may be able to help!
Okay I figured it out, it turns out I didn’t need any blueprint within the camera shake BP itself, thanks for the advice!