I have a zoom feature bound to the mouse wheel, but the mouse wheel will also be for the inventory cycle, how do I make it a requierment that for it to zoom in/out the C key must be pressed too, and if it is not, that it changes the inventory slot?
I have a zoom feature bound to the mouse wheel, but the mouse wheel will also be for the inventory cycle, how do I make it a requierment that for it to zoom in/out the C key must be pressed too, and if it is not, that it changes the inventory slot?
Just create a bool for the C key, so it is true if pressed and false when released. Then create a branch for the mouse wheel and check if it is true or false. On true its inventory on false its zoom.
I hope it works
Do you happen to have an image? It doesnt work
thanks !!