Difference between revisions of "Default Scripts List"
imported>Matthiaswagg |
imported>Matthiaswagg |
||
Line 15: | Line 15: | ||
'''defaultActivateActivateLinkedRefOnce''' | '''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. | This script will cause the activator to activate its linked reference when activated, and then go to an empty [[States (Papyrus)|state]] where the script will do nothing upon activation. I.e. an activator triggering a one-time trap. | ||
'''defaultActivateDelayedToggleLinkedRef''' | '''defaultActivateDelayedToggleLinkedRef''' | ||
Line 35: | Line 35: | ||
'''defaultActivateLinkedRefOnceOnDeath''' | '''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. | This script will activate the linked reference of the actor when they die, then go to an empty [[States (Papyrus)|state]] wherein nothing will happen upon death. I.e. turning off swinging axes a door when a boss dies. | ||
'''defaultActivateOnLoad''' | '''defaultActivateOnLoad''' | ||
Line 43: | Line 43: | ||
'''defaultActivateOpenLinkedRef''' | '''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. | This script will open its linked reference when activated, and then go to an empty [[States (Papyrus)|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''' | '''defaultActivateSelf''' | ||
Line 78: | Line 78: | ||
'''defaultAddItemArmorScript''' | '''defaultAddItemArmorScript''' | ||
This script will add the piece of armor to the reference the script is placed on in a [[OnReset - ObjectReference|reset-safe]] way. I.e. adding armor to a mannequin. | |||
'''defaultAddItemKeyScript''' | '''defaultAddItemKeyScript''' | ||
This script will add the key to the reference the script is placed on in a [[OnReset - ObjectReference|reset-safe]] way. I.e. adding a key to an NPC. | |||
'''defaultAddItemNoteToLinkOnLoad''' | '''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''' | '''defaultAddItemPotionScript''' | ||
This script will add the potion to the reference the script is placed on in a [[OnReset - ObjectReference|reset-safe]] way. | |||
'''defaultAddItemScript''' | '''defaultAddItemScript''' | ||
This script is the framework for all other defaultAddItem scripts. It's not directly useable on its own. | |||
'''defaultAddItemWeaponScript''' | '''defaultAddItemWeaponScript''' | ||
This script will add the weapon to the reference the script is placed on in a [[OnReset - ObjectReference|reset-safe]] way. I.e. equipping a gladiator with a sword. | |||
'''defaultAddMapMarkerOnCloseBookNotAlias''' | '''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''' | '''defaultAddMiscItemSCRIPT''' | ||
This script will add the misc object to the reference the script is placed on in a [[OnReset - ObjectReference|reset-safe]] way. | |||
'''defaultAddMusicOnActivate''' | '''defaultAddMusicOnActivate''' | ||
This script will play the specified music when the player activates the reference, and then go to a [[States (Papyrus)|state]] wherein activation does nothing. I.e. playing music when you activate a pedestal. | |||
'''defaultAddMusicSCRIPT''' | '''defaultAddMusicSCRIPT''' | ||
This script will play the specified music when the player enters the triggerbox, and then go to a [[States (Papyrus)|state]] wherein activation does nothing. ''Works on triggerboxes only.'' I.e. playing music when you enter a battle scene through gate. | |||
'''defaultAddSpell''' | '''defaultAddSpell''' | ||
''Does not appear to be functional. Script contains nothing.'' | |||
'''defaultAddToFactionOnLoad''' | '''defaultAddToFactionOnLoad''' | ||
This script will add the reference to the specified faction [[OnLoad - ObjectReference]]. | |||
'''defaultAddToLinkonLoadSCRIPT''' | '''defaultAddToLinkonLoadSCRIPT''' |
Revision as of 13:16, 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
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 reference to the specified faction OnLoad - ObjectReference.
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