I’m working on a game that requires a sprint, but I don’t want people to spam it or it to be only useable for a limited amount of time. If anyone has a solution, thanks!
Of course! Hold on a sec…
(also one that counts down is a different story…)
So game overlay --> trigger loop when triggered --> counter with target of your desired cooldown "when target value reached"--> wire repeater --> "reset counter" --> show overlay
make sure everything is player- scoped and the trigger loop hides the overlay and also when the counter reaches the target value make it deactivate the trigger loop and when the game overlay is pressed it activates the triggers
this took a while
Also add the speed modifiers
(If this does not work or does not make sense tell me)
-
Place down a game overlay with these settings
-
Place down two speed modifiers
-
Set one speed modifier to 1.00 speed
-
Set the other speed modifier to 1.50 speed
-
Place down a trigger
-
Set visible in game and trigger by player collision to no
-
Place down another game overlay with these settings
-
Wire the button game overlay to the text game overlay
-
Wire the button game overlay to the trigger
-
Wire the button game overlay to the 1.50 speed modifier
-
Wire the trigger to the 1.00 speed modifier
-
Wire the trigger to the text game overlay
-
Wire the trigger to the button game overlay
-
Set the trigger delay to how long your cooldown is
-
Here is how it should look
Mark a solution if you have found your answer!
If you have any questions be sure to ask!
Wow I should make this a guide!
Thanks!
(sorry it took so long, was testing)
Oh cool thanks!
(It took me a while to write that!)
I get that
(this is kinda getting off topic)
I was just saying thanks for acknowledging that you tested it after @TheCentaursHoof marked Cellofive 's post as the solution (not trying to be mean)
Ok we’ll get back on topic now
Yeah it’s not that
it was basically for 20 character limit
Oh ha!
Btw you can “cheat” the limit by going like this:
- <
- <hello
- <hello>
Yes, you can
yeah i tried it but it didn’t work…
Anyways this is really off topic, we should stop
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.