Greetings! I made a Bullet time effect that doesn’t affect the player (and bullets if need be) similar to that of Max Payne’s but my problem is the bullet time cooldown. I somehow made a looping cooldown that doesn’t stop. Hence, the effect can only be used once. I’m still new to programming so it’s hard to convert logic into computer readable language. Here’s the code so far.
Here’s the project file, too.
SlowTimeDown.rar (20.6 KB)
Great debug layer, it’s a very helpful habit for everyone to have the current debugging variables being shown in the screen
Also, thank for the example project, it is a lot easier to help you
Now, about the problem, everything related to the slow down system seems to be fixed if you add the action:
Do = 1 to global variable SlowReady
in the event 7 (next to the action to set SlowCooldown = 10).
As you can see, there is no event to set SlowReady = 1 again, so the events 6 and 7 run forever
Thank you so much, Lizard! Or else I wouldn’t have been able to sleep tonight thinking about that short piece of code. I’m happy again! I’ll keep it a habit to make debugging layers for future references.
That was my reaction when I saw your solution. Thanks again!