Here’s the video link if anyone can help
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: