How can I cast a event with a key only if another key is pressed first?

Wosvell
Wed, 07 Feb 2024 14:27:32 +0000
Getting Started & Setup

So I’m working on a binocular system. I have the binoculars that appear attached to my hand FP Character (attached to a socket) when I press the letter Z, and to use it I have to press the x button which will give me the zoom and the binoculars widget.

The problem is that it only works for the first time, after which even if I don’t equip the binoculars by pressing the z again, pressing the x still makes the binoculars zoom. How can this be solved?, I would like to send some images to make it clearer but I can’t.

1 post - 1 participant