Difference between revisions of "GetFPS"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (fps:float) GetFPS Returns the frames per second of the game. Category:Functions [[Categ...)
 
imported>DragoonWraith
(not a record variable function)
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:


Returns the frames per second of the game.
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)


[[Category:Functions]]
[[Category:Functions]]
Line 10: 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)