SetScriptDisabled
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Disables/re-enables the specified Script (or, alternatively, every script in the specified Form List).
- While disabled, the script will not be processed by the game (including any and all block-types).
- Variables defined in the script remain accessible, and may still be read/modified remotely, from another script.
Syntax
SetScriptDisabled scriptOrList:ref disable:0/1
Example
SetScriptDisabled RoseOfSharonCassidyScript 1
Disables the RoseOfSharonCassidyScript script, preventing it from being processed.
SetScriptDisabled DisableScriptsList 1
Disables every script in the DisableScriptsList Form List.