T
TorQueMoD
Guest
So I was following the tutorial series for making a shooter game with Drag and Drop. For the shooting functionality the tutorial has us create a variable for cooldown, set it's value to 0 and then only allow shooting when that variable is less than or equal to 0.
I wanted to add a delay before setting the cooldown value so that I can shoot for the duration of the delay (10 seconds) and then the cooldown variable is set, there's a period where I can't shoot and then shooting is enabled again.
Here's the setup:
My problem is that the Alarm Countdown doesn't seem to have any effect. I'm not sure if this is a proper delay function but it was the only one I could find that had anything to do with time.
I wanted to add a delay before setting the cooldown value so that I can shoot for the duration of the delay (10 seconds) and then the cooldown variable is set, there's a period where I can't shoot and then shooting is enabled again.
Here's the setup:
My problem is that the Alarm Countdown doesn't seem to have any effect. I'm not sure if this is a proper delay function but it was the only one I could find that had anything to do with time.