SetScriptDisabled

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

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

[help]
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.

See Also