How do I add a third weapon to my weapon switch function?

I’m following a video from Ryan Laley and I’m having trouble adding my third weapon to switch to.

Here’s the video link if anyone can help

Instead of having a Boolean that checks if the weapon is equal to a specific weapon, you can use a Switch on Int node.

For example like this:

If you for example press a specific key to switch weapon, this works. But if you press different buttons on a UI, you can just set the buttons to change the Switch to this variable and do something like this: