Don't immediately re-enable input after respawn

dereklam0528

New member
Hi,

Is there any way to avoid player input immediately after respawn on death? I want to keep player idle a few seconds before s/he can start again?

At the moment I create a script that inherits "UltimateCharacterLocomotionHandler" and override the Respawn method which doesn't enable the input. Is there other way that is more effective that this?
 
There's no out of the box way to do this - your solution sounds good. An alternative would be to listen to the "OnRespawn" event, that way you might not need to have your custom locomotion handler component overriding the base one.
 
Top