Getting PlayerState on Server

Anoberia
Mon, 29 Mar 2021 02:36:14 +0000
Character & Animation

Hello, I want to get PlayerState in BeginPlay. I saw in forums, PlayerStates replicate time is depends on internet connection so we shouldn’t use delay in BeginPlay. But there’s a function called OnRep_PlayerState and it’s triggered whenever PlayerState is changed. But it triggers only on clients. I need to take PlayerState on server in guaranteed. I don’t want to use delay or looped timer event. How can approach this problem? Anyone has any ideas?

2 posts - 1 participant