Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   FMB, Mission & Campaign builder Discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=203)
-   -   Ticks per second? (http://forum.fulqrumpublishing.com/showthread.php?t=26915)

salmo 10-09-2011 10:34 AM

Ticks per second?
 
Two questions for the C# scripters. (1) In the ontick event, how many ticks per second? (2) Is this rate an absolute constant?

Ataros 10-09-2011 10:48 AM

Quote:

Originally Posted by salmo (Post 346671)
Two questions for the C# scripters. (1) In the ontick event, how many ticks per second? (2) Is this rate an absolute constant?

It is not constant it varies around 30-34 ticks per second. It may depend on hardware load I guess, but not sure.

_79_dev 10-09-2011 10:52 AM

~S~

it's 30/sec, but after loading many objects in the mission and including net lag that may be more than 30/sec...

salmo 10-09-2011 11:49 AM

Thankyou, so on that basis, the tickcount cannot be used to make a stopwatch or any mission critical accurate timer-counter.


All times are GMT. The time now is 12:49 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.