Designing a Flow Charge Up Macro
I am looking to create a macro that has the following characteristics:
I'm no programmer so I may be going about this completely the wrong way, but so far I have created the following macro which, in simple cases, works:
Essentially, the local float acts as the timer with the flow input continuously checking to see if it can pass through to the output while also updating the local float.
The main issue I have is in resetting the local float back to zero once the flow stops. Currently I have an On Flow Stop macro that looks like this:
It's not pretty, but in theory, the retriggerable delay is supposed to reset every frame (assuming a stable framerate), and will only fire its output once the input flow has ceased.
While this all works in simple situations, if I convert it to macro form, and call it more than a handful of times it seems to run into issues with the retriggerable delay not firing at all.
So I was wondering if there was a more effective way of creating an "On Flow Stop" macro or if there is a better way of going about creating this macro.
asked Oct 27 '16 at 04:53 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here