Jump to content

Max interval for game timers


theacefes

Recommended Posts

What are you talking about? SetGlobalTimer() can be an arbitrary value, as long as it fits in the data size (BCS int is 4 bytes, I believe) and will fit into a DWORD when converted to ticks and added to the current game time (also in ticks, 1/15 of one second by default).

 

The timer is simply stored as the absolute expiry game ticks, and the game just does a comparison test between the current ticks and the variable value.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...