Download

Is Timer Active Changes from 4.8.3 to 4.9 Preview help

First off, just messing around in 4.9Preview, trying to familiarize myself with it. But I have a question and just want to make sure I have it right in my head since my C++ knowledge is lacking! I need to have the same functionality of Is Timer Active Function in 4.8.3 as in 4.9Preview3…

This is what it looks like in 4.8.3:
2e80a72fbb9bc5d8b5a0a7184ed558b005cc23dd.jpeg

And what it looks like in 4.9Preview3 (no longer a way to input function)
80b0b537218bbd01ab5aea0a4d8182f7e74f23a4.jpeg

So, do you think it works by checking that handle of whatever function it’s attached to or do I have to do something with that Handle input? :frowning:

Any help would be greatly appreciated.

Edit: oops…that Is Timer Active is supposed to be at that Branch node…not the set timer function btw… and it’s false not true:) But still can’t input function.

Create a variable from the return output of set timer, and then Get the Handle and connect it to the is timer active. Had to do it myself a few times : D

Ahhhhhhhhhhhhhhhhhh, thanks! I just ended up connecting the Return Value output from the Set Timer to the Input Handle of Is Timer Active… Is there something wrong with my approach? I just wanted less “clutter.”

Why do you think they changed the node? So it’s easier to just hook up the output to the input of Is Timer Active instead of trying to write the exact function name without errors?? Even though most people would copypaste the function names…

Its more efficient that way. Timers were changed back in 4.7 C++ wise, and they began using handles as its more efficient. I’m not sure if connecting it right from the return value is bad or not. I tend to make a variable so that way I can guarantee that what I am accessing is actually there. The plus side of a variable is that you can also use it later just in case.

Alright, I ended up promoting the variable from Return Value (named it TimerHandle) and then getting it and inputting that into the Is Timer Active by Handle node. Thanks again for the help/explanation!