PDA

View Full Version : Ticks per second?


salmo
10-09-2011, 10:34 AM
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
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.