OnReset
From GECK
This block will be run once whenever the scripted object's cell is reset due to being expired (3 days after the player last entered it). Generally used for traps and animating objects in order to reset their state.
Syntax
begin OnReset
Notes
- OnReset blocks won't run on most disabled objects, because their 3D data isn't loaded.
- OnReset blocks will not run if the 3D data is buffered in memory.
- OnReset blocks won't run if you are entering a cell in which you have just left.
- OnReset blocks may not fire reliably.
See also
- OnLoad
- IsCellExpired
- ResetInterior
- This blocktype is available as an Event Handler.