GetCurrentFrameIndex

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(FrameIndex:int) GetCurrentFrameIndex

Undocumented (so, technically, not supported) debug OBSE function.

Returns a 0-20 integer identifying the current frame.


Notes

  • OBSE keeps a running counter of which frame Oblivion is in, from 0 to 20, rolling back to 0 at 21.
  • Useful for determining which script ran in which frame while debugging.
  • Being undocumented and aimed at helping debug, this function should not be used in published mods.