#Making a blocking system need help!

1 messages · Page 1 of 1 (latest)

long lantern
#

for my game I'm trying to add a blocking system that when the players use the block button and release it a cooldown will start up before they can block again. but, I'm having problems solving that I need help please!

modern kestrel
#

what is the probelm

supple breach
#

yea

#

we cant help without knowing whats wrong bro

#

and I can tell its AI

long lantern
#

my bad let me try and clarify, the problem is that its still allowing the player to spam block and gives no cooldown. basically I want the cooldown to start when the player releases the block button if that makes sense?

long lantern
supple breach
#

just use an if statement