Fire function from Weapon Master Blueprint

Hi All,

I am struggling with the following in BluePrints, any insight is greatly appreciated:

What I am trying to achieve

A Parent Class Blueprint of a Weapon that fires a line trace via a function that the Player Character, who has the weapon equipped, has access to use. This would then be inherited by all other child-classes of the Parent class.

The Problem:

My player character does not have access to the function stated above, therefore cannot fire the weapon.

Thoughts:

I believe this is the best way to handle the scaling of multiple weapons shuffling through a player’s hands, as well as the way the gun fires should be handled on the weapon and not the player.

Thank you for reading!

I’m pretty sure you could solve your problem by simply creating a custom event in the weapon’s parent blueprint, that would start the line trace, and that event should be callable by the player character.