GetTimerRemaining returns -1
Hi, I cannot for the life of me figure out why this is not working.
I have a timer in my begin play function.
and just for testing I am trying to print the time remaining
I keep getting a print of -1 which means the timer doesn't exist. Am I misunderstanding the point of that function? In blueprint I can pull off the handle and use the "GetTimerRemainingTimeByHandle" function, and print the return value and get the time remaining on the timer.
Can anyone help point me to why I am not able to print the actual time remaining out of C++?
asked Oct 24 '18 at 02:04 PM in C++ Programming
You are creating an empty instance of a timer manager and checking for the remaining time (which is not tracking your timer)
Instead, use the same timer manager that you got from the world when you created it
Change this from:
Follow this question
Once you sign in you will be able to subscribe for any updates here