Default Scripts List
What are Default Scripts?
This is a full list of all default scripts included in vanilla Skyrim.
Defaults scripts are pre-created and compiled scripts written by the Bethesda developers, made with the intention of saving the time of a modder spent writing scripts to perform common tasks. They can be added to any record by going to Scripts>Add, filtering by "default" and choosing one of the scripts to add. Often, they contain properties that should be filled in order for the script to function properly.
See the Glossary for more information on specific terms.
List of Default Scripts
If a script is not specified as for triggerboxes, reference aliases, etc. it will NOT work for them. Examples are provided when possible.
default2StateActivator
This script will cause the activator it's placed on to open or close depending on its current state. It will only work properly on activators that can open and close. I.e. having the script on a custom portcullis.
defaultActivateActivateLinkedRefOnce
This script will cause the activator to activate its linked reference when activated, and then go to an empty state where the script will do nothing upon activation. I.e. an activator triggering a one-time trap.
defaultActivateDelayedToggleLinkedRef
This script will cause the activator to change the enable state of the linked reference when activated after a variable amount of time has passed since activation. You can set the DelayTime to 0 for no delay. I.e. a manual light switch script.
defaultActivateDeleteLinkedRef
This script will delete the linked reference of the activator upon activation. Be sure to read Delete_-_ObjectReference, particularly Notes and the initial section. I.e. when a chain is pulled, removing a wall.
defaultActivateLinkDoOnceSCRIPT
This script will cause the trigger to activate its linked reference when it is entered. This only works for trigger boxes! I.e. triggering a trap when the player walks past it.
defaultActivateLinkedRefOnAttacked
This script will activate the linked reference of the actor once the actor has been hit the specified number of times. I.e. activating a trap to drop you onto spikes once you've hit an NPC enough.
defaultActivateLinkedRefOnceOnDeath
This script will activate the linked reference of the actor when they die, then go to an empty state wherein nothing will happen upon death. I.e. turning off swinging axes a door when a boss dies.
defaultActivateOnLoad
This script will activate the linked reference of the reference when their 3D is loaded. Read the OnLoad - ObjectReference page for more info. This script is not recommended for use, as OnLoad is somewhat unreliable.
defaultActivateOpenLinkedRef
This script will open its linked reference when activated, and then go to an empty state wherein activation will do nothing. Only works when the linked reference is openable. I.e. releasing many animals from cages after pressing a button.
defaultActivateSelf
This script will activate itself when entered, with many optional parameters for what can enter and what to do after. Only works on triggerboxes. I.e. activating self when trigger is entered, thus causing OnActivate to spawn a hostile NPC at the triggerer's location.
defaultActivateToggleLinkedRef
This script will toggle the enable state of its linked reference. I.e. enabling a fire when you activate a shrine, then disabling it if the fire is enabled.
defaultActivateToggleLinkedRefOnce
This script will toggle the enable state of its linked reference, and then go to a state wherein activation does nothing (unless the variable reset is true, in which case it can be reset). I.e. activating a somewhat broken light switch.
defaultActorEnableDisableLinkedRef
This script will enable or disable, variably, the linked reference the first time it is entered by a specified actor. This script only works on triggerboxes. I.e. enabling invisible walls when the player enters the trigger.
defaultActSelfOnEnterOnLeave
This script will activate itself when entered and left. This script only works on triggerboxes.
defaultAddBookScript
This script will add the certain amount of books required to itself OnLoad - ObjectReference. This script can only add one type of thing.
defaultAddEffectShaderScript
This script will play an effect shader on itself OnLoad - ObjectReference, until it is unloaded. I.e. having a glowing statue.
defaultAddItemAliasScript
This script will set a stage in a quest when this ReferenceAlias is added to the inventory of someone/thing. This script will only work when placed on a ReferenceAlias. I.e. completing a stage when you pick up an heirloom.
defaultAddItemArmorScript
This script will add the piece of armor to the reference the script is placed on in a reset-safe way. I.e. adding armor to a mannequin.
defaultAddItemKeyScript
This script will add the key to the reference the script is placed on in a reset-safe way. I.e. adding a key to an NPC.
defaultAddItemNoteToLinkOnLoad
This script will add the reference the script is on to its linked reference. I.e. placing a note at an items linked reference.
defaultAddItemPotionScript
This script will add the potion to the reference the script is placed on in a reset-safe way.
defaultAddItemScript
This script is the framework for all other defaultAddItem scripts. It's not directly useable on its own.
defaultAddItemWeaponScript
This script will add the weapon to the reference the script is placed on in a reset-safe way. I.e. equipping a gladiator with a sword.
defaultAddMapMarkerOnCloseBookNotAlias
This script will add the map marker(s) specified to the map once the book the script is on has been closed, optionally with fast travel enabled. This will only work on books, and NOT aliases. I.e. discovering a location via book.
defaultAddMiscItemSCRIPT
This script will add the misc object to the reference the script is placed on in a reset-safe way.
defaultAddMusicOnActivate
This script will play the specified music when the player activates the reference, and then go to a state wherein activation does nothing. I.e. playing music when you activate a pedestal.
defaultAddMusicSCRIPT
This script will play the specified music when the player enters the triggerbox, and then go to a state wherein activation does nothing. Works on triggerboxes only. I.e. playing music when you enter a battle scene through gate.
defaultAddSpell
Does not appear to be functional. Script contains nothing.
defaultAddToFactionOnLoad
This script will add the actor to the specified faction OnLoad - ObjectReference. I.e. adding an actor to the Stormcloaks.
defaultAddToLinkonLoadSCRIPT
This script will add the reference to the linked reference OnLoad - ObjectReference.
defaultAliasChangeOutfit
This script will change the alias' outfit when they enter or leave the specified location. This only works on Reference Aliases. I.e. changing an alias' outfit after they leave a dressing room.
defaultAliasModAggression
This script allows you to modify and reset the alias' aggression to the specified aggression. This only works on Reference Aliases. This script does nothing on its own - you must call the functions within it externally. I.e. making a boss aggressive after speaking to him.
defaultAliasOnDeathScript
This script will set the specified stage on the parent (owning) quest of the alias when they die. This only works on Reference Aliases. You cannot specify quests other than the owning quest. I.e. completing the quest when an NPC dies.
defaultAliasOnUnload
This script will set the specified stage on the parent (owning) quest of the alias OnUnload - ObjectReference. This only works on Reference Aliases. Note the possible unreliability of UnLoad on its page. I.e. setting a stage when you leave an NPCs home.
defaultAliasRespawnScript
This script will attempt to respawn the alias the script is on OnDeath - Actor, with an optional property to turn off auto-spawning (which you can [externally]). This only works on Reference Aliases. You MUST attach defaultQuestRespawnScript to the alias' quest in order for this to work. I.e. a boss that constantly respawns until you activate a switch.
defaultAllowPCDialogueScript
This script will allow the actor to talk to the player OnLoad - ObjectReference.
defaultAOEpushOnActivateDoOnce
This script will cause an explosion to be placed at the reference when activated. If the reference is openable, it will also open before exploding. Then, it will go to a state wherein activation does nothing. I.e. a trapped door that explodes and then opens.
defaultAutosaveScript
This script will autosave when the trigger is entered. The trigger will be auto-saveable again OnReset - ObjectReference. This only works on triggerboxes. I.e. autosaving before entering a big boss fight.
defaultBiPressurePlate
This script governs all actions of a pressure plate - the animations, states, etc. It will activate itself when the pressure plate goes down. This only works on triggerboxes (placed over a pressure plate static/piece). You will have to pair this with another script to do something when activated. I.e. causing a pressure plate to work.
defaultBlockActivation
This script blocks activation of the reference OnLoad - ObjectReference.
defaultBlockFollowerActivation
This script prevents the reference from being activated (via favor) by followers OnLoad - ObjectReference. I.e. a trap only meant for the player.
defaultBloodPoolScript
This script fills the reference with blood when activated or optionally OnLoad - ObjectReference. Should only work on references with the animation defined. See Talk for PlayAnimation. I.e. filling a pool with blood.
defaultButtonSCRIPT
defaultCastAtLinkOnTriggerSCRIPT
defaultCastFromLinkOnActivateSCRIPT
defaultCastFromLinkOnTriggerSCRIPT
defaultCastOnTriggerSCRIPT
defaultCityEndGateSceneScript
defaultClearLocationOnActivate
defaultClearLocationOnDeath
defaultClearLocationOnDeathRefAlias
defaultCounter
defaultCounterIncrementOnActivate
defaultCounterIncrementOnDeath
defaultDeleteSelfOnReset
defaultDisableExitEnableEnter
defaultDisableHavokOnLoad
defaultDisableLinkedRefOnLoad
defaultDisableLinkRefOnDestruction
defaultDisableOnCellAttachOtherCond
defaultDisableOnLoadAfterTrig
defaultDisableOnloadAfterWait
defaultDisableOnReset
defaultDisableOnResetIfLocWasCleared
defaultDisableOnResetOtherCondition
defaultDisableOtherObjectOnActivate
defaultDisableOtherObjectWhenTaken
defaultDisableSelfOnActivate
defaultDisableSelfOnLoad
defaultDragonSetLandingMarker
defaultDweButtonScript
defaultDweGearScript
defaultEnableDisableLinkedRef
defaultEnableDisableLinkOnOpenClose
defaultEnableEncLinkedRef
defaultEnableLinkedRefOnActivate
defaultEnableLinkedRefOnDeath
defaultEnableLinkedRefOnLostLOS
defaultEnableOnReset
defaultEnableTrigScript
defaultEquipItemOnLoad
defaultFakeHarvestableScript
defaultFakeNPCLoadTRIG
defaultfakerezspell
defaultFakeSummonSpell
defaultFireWeaponScript
defaultForceEvaluatePackageTrigger
defaultGhostScript
defaultGhostScriptRefAlias
defaultIfAlivePlaySoundScript
defaultIgnoreFriendlyHits
defaultImodAreaTrig
defaultInteriorDoorShutScript
defaultLearnWordonAct
defaultLinkRefStartCombatPlayer
defaultMasterPackageWeaponDrawnScript
defaultMoveActorTriggerScript
defaultNoEnemiesFollowDoorScript
defaultNoFastTravelTriggerScript
defaultNoFavorOnLoad
defaultNoFollowDoorScript
defaultNPCrunToTRIG
defaultObjectManager
defaultOnActivateBlockActivation
defaultOnActivateBlockPlayerActivate
defaultOnActivateDisableLinkedRef
defaultOnActivateEnableScript
defaultOnActivateEvaluatePackage
defaultOnActivateNonPlayerEnableScript
defaultOnCellAttachEnable
defaultOnDeathUnequipAll
defaultOnEnter
defaultOnHitActivateLinkedRef
defaultOnHitChangeAggression
defaultOnHitSetAV
defaultOnHitSetAVRefAlias
defaultOnLoadRemoveWeapons
defaultOnReadSetQuestStage
defaultOnReadSetQuestStageNotAlias
defaultOnResetTestAndDisable
defaultOpenLinkedRefTrigger
defaultOwnZombie
defaultPillarPuzzleLever
defaultPillarPuzzleLeverNoFurn
defaultPillarPuzzlePullBarNoFurn
defaultPlaceAtMeOnActivate
defaultPlayEffectOnActivate
defaultPlayerEnableDisableLinkedRef
defaultPlaySoundAtLinkSCRIPT
defaultPrisonerDoorSCRIPT
defaultPuzzlePillarNoFurn
defaultPuzzlePillarPullBarNoFurn
defaultPuzzlePillarScript
defaultQuestRespawnScript
defaultRagdollAttachPointSCRIPT
defaultResetReferenceOnUnload
defaultRumbleOnActivate
defaultSealedDoor
defaultSetAVonActivate
defaultSetAVOnLoad
defaultSetEnableStateOnReset
defaultSetEnableStateOnResetLinkedRef
defaultSetLinkAVVar
defaultSetMultiAVTriggerScript
defaultsetMultiStageAliasScript
defaultSetStageActorRefScript
defaultsetStageActRefAliasScript
defaultsetStageActSCRIPT
defaultsetStageAliasScript
defaultSetStageOnAttacked
defaultSetStageOnAttackedRefAlias
defaultSetStageOnCloseBook
defaultSetStageOnCloseBookNotAlias
defaultSetStageOnDeath
defaultSetStageOnDeathRefAlias
defaultSetStageOnEnter
defaultsetStageOnHitAliasScript
defaultSetStageOnLoad
defaultsetStageOnOpenSCRIPT
defaultSetStageOnPlayerAcquire
defaultSetStageOnPlayerAcquireItem
defaultSetStageOnReset
defaultSetStageOnUnload
defaultsetStageRefScript
defaultSetStageTrigOnLeaveSCRIPT
defaultsetStageTrigSCRIPT
defaultSetStageTRIGSpecificActor
defaultSetStageTRIGSpecificFaction
defaultSoundControlScript
defaultStartSceneAterDelayTrigScript
defaultStartSceneIfNoCombatTrigScript
defaultStartSceneOnAliasDeath
defaultStartSceneScript
defaultStartSceneTrigAliasScript
defaultStartSceneTrigScript
defaultStopSceneOnHit
defaultTeleportAbility
defaultToggleSelfOnActivate
defaultUnlockOnLoad
defaultWerewolfAttachPointSCRIPT