Choosing Custom events with line trace? (Better options than switch on string)

Hey,

Im trying to work out the most optimal path. I basically have a vehicle with buttons all in the same blueprint.

A fairly simple system, But I have like 50 buttons. And I feel like a switch on String is not very optimal?

Are there better ways?

Ok so to further investigate the options of essentially just clicking an object and having it do a thing within the same blueprint

There are surprisingly few options.

Interfaces are fantastic..if… You’re running separate blueprints for everything. They communicate well and are clearly the answer for most cases.

Line trace/switch on string above is another option but will become a huge mess really fast. its a piece of nightmare fuel waiting to happen.

Using a branch style or a tag system is possible.

I’m going to look into just individual blueprints for every object. The objects aren’t that complicated, but shockingly it might be easier having 50 blueprints than having 1, Which logically to me doesn’t make a lot of sense.

But it’s how the system works, it seems. I’ll update if I find anything else out.

Today Ill be working on a tag/map of actions enum system to see if it works better.