- Joined
- Jun 30, 2013
- Messages
- 37
- Reaction score
- 7
- First Language
- English
- Primarily Uses
So, I was able to get Yanfly's Stealth Mode to work, but now the problem is that I do not know how to do a cooldown system for it.
The general gist is that when you press 'F' key with a certain character, you enter Stealth Mode for 10 seconds. Once the 10 seconds are up, you cannot use the skill for 5 seconds (pressing F will just have nothing happen, or a buzzing SE). Obviously, once the 5 seconds are up, you can press F and use the Stealth Mode again. Then rinse and repeat.
Succeeded with press F key and Stealth Mode itself to work. But the cooldown system is what I'm unsure on how to go about it.
(Please ignore the 120 - it's there for test purposes but it'll be changed to 600 when everything's solved.)

Timers are probably my biggest weakness thus far and I want to try and understand them better as I've only had...well, lack of success with them.
The general gist is that when you press 'F' key with a certain character, you enter Stealth Mode for 10 seconds. Once the 10 seconds are up, you cannot use the skill for 5 seconds (pressing F will just have nothing happen, or a buzzing SE). Obviously, once the 5 seconds are up, you can press F and use the Stealth Mode again. Then rinse and repeat.
Succeeded with press F key and Stealth Mode itself to work. But the cooldown system is what I'm unsure on how to go about it.
(Please ignore the 120 - it's there for test purposes but it'll be changed to 600 when everything's solved.)

Timers are probably my biggest weakness thus far and I want to try and understand them better as I've only had...well, lack of success with them.