Home   Help Search Login Register  

Author Topic: Calculating current framerate  (Read 528 times)

0 Members and 1 Guest are viewing this topic.

Offline Razorwings18

  • Contributing Member
  • **
  • I'm NOT a llama. I checked.
Calculating current framerate
« on: 17 Mar 2003, 13:12:10 »
I was wondering if anyone has an idea of how to calculate the current framerate through scripting.
I've incorporated a pretty nifty way to improve framerate within one of my scripts (in exchange for features, though), and I was just looking for a way to dynamically adjust the level of framerate improving depending on the current FPS the game is throwing.

The Benchmark function won't do of course, since it gives me the player's preference, not a dynamically-updated value according to the current situation.

Actually, any dynamic performance indication will do, not necessarily FPS.
If I come up with something I'll post it here.