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?