Hi JMK,
There are a few ways you could do this. The simplest could be when you update the “X amount out of Y” you could do a check after this to call the Open Gate Event. This can even be done from outside of your player class. Are you updating the “X amount out of Y” from the player when you interact with the collectable?