Hello everyone!
I am trying to create a small game with collectibles in it. For this purpose, I created a master collectibles actor blueprint. I have 3 types of collectibles and to be able to select the type I created an enum.
When collecting a speed buff collectible I want to activate it for a certain period of time and reset it to its previous value once the time is over. I managed to do this logic by using a set timer by event node. But the problem is each instance of the speed buff collectible type acts on its own and won’t reset the timer so it doesn’t matter how many collectibles I collect after the first one. To solve that I created a has speed buff boolean in the character blueprint but still couldn’t manage to do this. Can anyone help me? Much appreciate it.