Optimal way to make a shoot function with many weapons?

Hi.

I am trying to make a simple blueprint for shooting a gun or using an item. So what is an optimal way to make a shoot blueprint if there are many different weapons and items in the game?

I guess just making booleans is not a very clever way to do that. Should I make the shooting blueprint into the item itself? A simple “yes” would be fine. I’m trying to perceive all the stuff that makes the game more optimal. :slight_smile:

It depends if your solution is working and meets requirements I say YES, but personally I would create base BP then child BP with specialized version of shoot function.

Oh right thanks :slight_smile:

Comment to make this thread “answered”