You can use “Timeline Component” or “Timer”, depends if you need uodates every tick or not.
Hello! I am trying to code some sort of night vision effect. Whenever you hit spacebar, the post processing will activate and the night vision will turn on. I want there to be some cool down, and I’ve tried multiple ways for this but had no luck. Here is a quick screenshot of all the coding.
Any response is appreciated. The “Night Vision” variable itself is a Post Processing component.
Well I put float-float and then added that as the set value if the night vision is activated, and vise versa if it’s off. The problem is I can’t just set it to enabled-> false because the player can just hold space and toggle it back on.
I dont understand your post.
But you can check is nv active - if yes turn off if not, check is timer playing, if playing → nv on cooldown, if not playing - > launch nv.
nv stands for night vision