Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    https://www.dropbox.com/s/j08bve1rfwfc7hj/input.jpg
    Last edited by MattD; 03-28-2014, 04:12 PM.

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



    -Mike

    Comment


      #3
      Ah thanks, that worked.

      Comment

      Working...
      X