Difference between revisions of "Default Scripts List"
Jump to navigation
Jump to search
→List of Default Scripts
imported>Exit m |
imported>Matthiaswagg |
||
Line 258: | Line 258: | ||
'''defaultDisableOnReset''' | '''defaultDisableOnReset''' | ||
This script will cause the reference to be disabled once its cell [[OnReset - ObjectReference|resets]]. | |||
'''defaultDisableOnResetIfLocWasCleared''' | '''defaultDisableOnResetIfLocWasCleared''' | ||
Line 264: | Line 266: | ||
'''defaultDisableOnResetOtherCondition''' | '''defaultDisableOnResetOtherCondition''' | ||
This script disables its reference [[OnReset - ObjectReference]] if the location has been cleared once. Optionally, you can enable/disable up to 5 other objects. ''The reference must have an XMarker linked reference in the cell.'' I.e. disabling the boss' object. | |||
'''defaultDisableOtherObjectOnActivate''' | '''defaultDisableOtherObjectOnActivate''' | ||
'''defaultDisableOtherObjectWhenTaken''' | '''defaultDisableOtherObjectWhenTaken''' | ||
This script will disable the specified object when the reference the script is on is taken by the player, and then go to a [[States (Papyrus)|state]] wherein being taken again does nothing. I.e. disabling a pressure plate's triggerbox when you've taken the item resting on it. | |||
'''defaultDisableSelfOnActivate''' | '''defaultDisableSelfOnActivate''' | ||
'''defaultDisableSelfOnLoad''' | '''defaultDisableSelfOnLoad''' | ||
This script will disable its reference when its cell is loaded. Optionally, it will only disable itself if the specified stage of a quest is completed. I.e. disabling a quest-specific object once you've passed a certain part in the quest/ | |||
'''defaultDragonSetLandingMarker''' | '''defaultDragonSetLandingMarker''' | ||
'''defaultDweButtonScript''' | '''defaultDweButtonScript''' | ||
This script governs the animations and sounds of a Dwemer button when pressed. I.e. for use on a Dwemer button. | |||
'''defaultDweGearScript''' | '''defaultDweGearScript''' | ||
'''defaultEnableDisableLinkedRef''' | '''defaultEnableDisableLinkedRef''' | ||
This script will, variably, enable or disable the reference's linked reference when activated or entered. ''This can work for triggerboxes OR activators.'' I.e. enabling an entrance-blocking pile of rocks after explosion. | |||
'''defaultEnableDisableLinkOnOpenClose''' | '''defaultEnableDisableLinkOnOpenClose''' | ||
This script will enable the reference's linked reference when the player enters it, provided the players level is bigger than or equal to a global variable. Then, it will go to a [[States (Papyrus)|state]] wherein triggering will do nothing. I.e. a random encounter with a hagraven in the wild. | |||
'''defaultEnableEncLinkedRef''' | '''defaultEnableEncLinkedRef''' | ||
'''defaultEnableLinkedRefOnActivate''' | '''defaultEnableLinkedRefOnActivate''' | ||
'''defaultEnableLinkedRefOnDeath''' | '''defaultEnableLinkedRefOnDeath''' |