Download

Need help creating a delay that cancels Input Action Fire (Blueprint FPS template)

Sorry the title is wrong, it should be “Need help creating a delay that ENABLES Input Action Fire (Blueprint FPS template)

I’m having trouble wrapping my head around how I’d add a delay that enables Input Action Fire in the fps template. Essentially, I’m trying to make it so that if Input Action Fire isn’t held down long enough (say 0.5 seconds), the projectile won’t fire when the button is released. I’m guessing I need to add some kind of branching true/false statement to the Release pin in the Input Action Fire node but I’m not entirely sure how to hook all that up.

Here’s a simplified example. I’m sure there’s a more elegant way, but this worked for me:

-Mike

Ah thanks, that worked.