disable UnFreeze timer on PlayerController
Is there any way to temporarily disable the PlayerController's UnFreeze timer on both client and server? For example if we are going to travel to another map we don't want BeginInactiveState() to set TimerHandle_UnFreeze and later trigger UnFreeze().
Even if we try to manually clear this timer BeginInactiveState() will set it again. BeginInactiveState() is called whenever my player ServerTravels to a new map and then UnFreeze() will be called on both the client and the server after the player has loaded into the new map.
I want this functionally normally when the game is active but only want to disable in a case like when using seamless travel to reload the map.
asked Mar 12 '18 at 09:54 PM in C++ Programming
BeginInactiveState() is virtual so you can override and add bool property to switch on/off this timer.
answered Mar 12 '18 at 11:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here