Difference between revisions of "GetFPS"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Added link to GetSecondsPassed)
imported>DragoonWraith
(not a record variable function)
 
Line 16: Line 16:
[[Category:Debug Functions]]
[[Category:Debug Functions]]
[[Category:Debug Functions (OBSE)]]
[[Category:Debug Functions (OBSE)]]
[[Category:Record Variable Functions]]
[[Category:Record Variable Functions (OBSE)]]

Latest revision as of 18:06, 21 March 2008

A command for Oblivion Script Extender

Syntax:

(fps:float) GetFPS

Returns the frames per second of the game.

Notes[edit | edit source]

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

See Also[edit | edit source]

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