FreezeTime

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Toggles a special game mode, where:

  • Game-time ceases to advance.
  • All animations and physics are suspended, except for the player character.


The following effects were observed while this mode is enabled:

  • Game-time does advance when sleeping/waiting, or when fast-travelling.
  • Actor Effects/ingestibles with a duration are suspended.
  • Hardcore needs are not incremented.
  • Quest-/Object-type scripts continue to run as normal; Effect-type script, however, are suspended.
  • Weapons with an ammo regen rate will still have their ammo regenerate. See FreezeAmmoRegen to counter this.
  • Neither lighting settings not IMODs are updated when traversing between cells.

Additional effects are likely, pending further testing.

Syntax

[help]
(timeFrozen:0/1) FreezeTime toggle:1/0

Example

FreezeTime 1
set bTimeFrozen to FreezeTime 

Notes

  • By omitting the argument, the function can be used to return whether this mode is enabled, without making any changes.
  • This function is session-persistent.

Bugs

  • If time is unfrozen during the NVSE LoadGame event, the game will crash. Unfreezing time can also cause the console menu to crash.
  • Prevents things from loading properly when entering a new cell while time is frozen.