I would like to record the number of frames from the start of an event to the end, possibilities?
I would like to record the number of frames from the start of an event to the end, no animation for now. On a side note, trying to understand how the frame skip works after hitting pause in the menu. Something like playing while using frame skip would be nice. Also wanted to mention I am the greatest of newbs so forgive me if my question is elementary.
One way to do it, would be to set up a blueprint, that when the event occurred would start counting frames. Remember there is a call to event tick for a blueprint for each frame. So a simple method would be to just increment a counter for each call to the Event Tick. You would also want to have a bool that fed into a branch node, to act as a trigger, for when the Event started so you could start counting, and flip the bool to false, when the event was done, then have the count dumped out to the log via a Print node. Again this is very simplistic, but would do what you are looking for.
Hope this helps,
answered Dec 13 '18 at 03:54 AM
in the BP containing your event, I'd just add an INT variable, increase it by one in your event using ++ or +1... the final value of your INT variable will be the number of frames
you could use PrintString to show the result on screen
answered Dec 13 '18 at 04:00 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here