Difference between revisions of "Default Scripts List"
imported>Matthiaswagg |
imported>Matthiaswagg |
||
Line 7: | Line 7: | ||
== List of Default Scripts == | == List of Default Scripts == | ||
''If a script is not specified as for triggerboxes, reference aliases, etc. it will NOT work for them.'' | ''If a script is not specified as for triggerboxes, reference aliases, etc. it will NOT work for them. Examples are provided when possible.'' | ||
'''default2StateActivator''' | '''default2StateActivator''' | ||
Line 62: | Line 62: | ||
'''defaultActSelfOnEnterOnLeave''' | '''defaultActSelfOnEnterOnLeave''' | ||
This script will activate itself when entered and left. ''This script only works on triggerboxes.'' | |||
'''defaultAddBookScript''' | '''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''' | '''defaultAddEffectShaderScript''' | ||
This script will play an effect shader on itself [[OnLoad - ObjectReference]], until it is [[OnUnload - ObjectReference|unloaded]]. I.e. having a glowing statue. | |||
'''defaultAddItemAliasScript''' | '''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''' | '''defaultAddItemArmorScript''' |
Revision as of 12:59, 11 April 2015
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
defaultAddItemKeyScript
defaultAddItemNoteToLinkOnLoad
defaultAddItemPotionScript
defaultAddItemScript
defaultAddItemWeaponScript
defaultAddMapMarkerOnCloseBookNotAlias
defaultAddMiscItemSCRIPT
defaultAddMusicOnActivate
defaultAddMusicSCRIPT
defaultAddSpell
defaultAddToFactionOnLoad
defaultAddToLinkonLoadSCRIPT
defaultAliasChangeOutfit
defaultAliasModAggression
defaultAliasOnDeathScript
defaultAliasOnUnload
defaultAliasRespawnScript
defaultAllowPCDialogueScript
defaultAOEpushOnActivateDoOnce
defaultAutosaveScript
defaultBiPressurePlate
defaultBlockActivation
defaultBlockFollowerActivation
defaultBloodPoolScript
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