- Joined
- Jan 27, 2019
- Messages
- 4
Hi, does anyone know of an event that fires when players are lagging? I set up a timer that restarts itself every time it completes. I use it for all the gameplay updates, lots of writing to and reading from hashtables for example. R_Update_Time is initially set to 1.00 seconds, however I'd like to be able to increase that if people are lagging.
-
Updating Game Time
-
Events
- Time - T_Update expires
- Conditions
-
Actions
- Countdown Timer - Start T_Update as a One-shot timer that will expire in R_Update_Time seconds
-
Events
-
Lagging Players
-
Events
- Players are lagging
- Conditions
-
Actions
- Set variable R_Update_Time = R_Update_Time + 0.50
-
Events