How to get a server created timer information from a client?

SuperDuperYeah
Mon, 09 May 2016 04:11:07 +0000
Multiplayer & Networking

Sooo say I created a timer on authority only and wanted to retrieve the “remaining time by handle” from a client, how would I go about doing that ?

I’m using the remaining time and the initial timer length to feed into a progress bar on a UMG widget in order to show a powerup’s remaining time to a player.

As an example I took the networking content example and tried to implement the following which returns a big fat zero on the client. I thought the value would show up on the client since I’m replicating the “float value” and the server definitely knows about the “timehandle” variable.

Any thoughts on how to retrieve timer info from a client’s perspective and feed that into an UMG widget ?

7 posts - 1 participant