GetFPS

From the Oblivion ConstructionSet Wiki
Revision as of 18:06, 21 March 2008 by imported>DragoonWraith (not a record variable function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(fps:float) GetFPS

Returns the frames per second of the game.

Notes

  • This function can take a heavy toll on the CPU. Do not use every frame.

See Also

  • GetSecondsPassed (can be used as an alternative, not nearly as expensive on the CPU)