I'm making a simple shotgun and everything's gone great, I just have 1 little issue at the moment, I have it set to when the shotgun shoots it sets P variable R to 1. When R is set to 1, I want to make it wait X seconds before switching back to 0.
For some reason I cant find a time set up like that that isn't in form of a condition..
Hmm... That's weird. It should work. You must have placed the delay somewhere that it isn't called again. Check the flow of your code and see if it passes through the function with your delay the second time around.
Tip: Check if your conditional is met. You might have forgotten to re-set a value to meet the condition.
Ehh why not just use every x milliseconds? From what I've heard it's the simplest answer. Just have when button down & every (lets say 500) MS > shoot That way you can shoot 2 times a sec and if you want slower just increase the millisecond count or so.
Sagal's right, just use the "every" condition, much simpler. I compared the two methods and found that they behaved pretty much the same. I'm continuously impressed on how so many tasks are very simple to do in construct.