Tes3Mod:EnableDisable

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


Disable
Enable

                Disable
                Enable

        Type:   Misc

     Returns:   none

     Example:   "murberius harmevus"->Disable
                misc_lw_bowl_chapel->Enable

     Scripts:   Alen_Note
                AzuraEnd

Used to enable/disable objects within the game. A disabled object is saved but not visible or processed within the game (though any scripts attached to it will still work). Note that it is dangerous to disable an object within its own script (causes crashes). There also appears to be some minor issues involved with disabling lights.

There are many possibilities allowed with these functions. For example, the game strongholds are initially disabled and are only enabled once the player performs the appropriate quests

See Also: GetDisabled