I have a special attack for one of my sackbots for an rpg im making, it has basic sword strikes, double jumps, rolls, and now a special attack. The special attack should be a cooldown attack, so you can only use it every couple seconds or so. I tried setting up a timer before the attack sequencers, But the timer would reset if I pressed the special attack button during the cooldown, so instead of waiting 10 seconds to be able to use the special attack again, id be waiting 20 seconds or more. So i want to be able to press the special attack button as many times as i want during the cooldown and not have the cooldown timer reset. Any help?

- Forum
- LittleBigPlanet 2 - 3 - Vita - Karting
- LittleBigPlanet 2
- [LBP2] Help!
- Special attack cooldown logic?
Results 1 to 5 of 5
Thread: Special attack cooldown logic?
-
08-27-2011 #1TruekingGuest
Special attack cooldown logic?
-
08-27-2011 #2Dat Christmas Spirit
- PSN
- Speedynutty68
- Join Date
- Jul 2011
- Location
- In_The_Place_With_The_Really_R
- Posts
- 1,285
- Blog Entries
- 3
Place an AND Gate and plug that into what activates the special attack. Then, have a NOT Gate and a Timer. Plug the timer into the NOT Gate and set it to countdown. Set the time on the Timer to whatever cooldown time you want. Then plug the NOT Gate into the earlier stated AND Gate. Then plug the button that activates the special attack into the Timer. That should do the trick. Well... With some Debugging it will do the trick... Lol...
-
08-27-2011 #3
nutty beat me AGAIN?
lol
Well heres my ideas: Set a time to the cooldown time. Then set and AND gate with the timer plugged into it and your button, then make the AND gate reset the timer and trigger the attack.
Well atleast (I think) my way was easier than nutty's!
But he still beat me AGAIN
-
08-27-2011 #4TruekingGuest
thanks i got it to work using just one timer, I had the inpiut in reset.
-
08-27-2011 #5Dat Christmas Spirit
- PSN
- Speedynutty68
- Join Date
- Jul 2011
- Location
- In_The_Place_With_The_Really_R
- Posts
- 1,285
- Blog Entries
- 3
My way is always the easiest because I made it up. :-D And of course I beat you. I found this like a minute after he published it... xDnutty beat me AGAIN?
lol
Well heres my ideas: Set a time to the cooldown time. Then set and AND gate with the timer plugged into it and your button, then make the AND gate reset the timer and trigger the attack.
Well atleast (I think) my way was easier than nutty's!
But he still beat me AGAIN 
«
Previous Thread
|
Next Thread
»
All times are GMT. The time now is 01:27 AM.
Powered by vBulletin® Version 4.2.2
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
Extra Tabs by vBulletin Hispano
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
Image resizer by SevenSkins
Extra Tabs by vBulletin Hispano
Reply With Quote


