Difference between revisions of "Default Scripts List"

Jump to navigation Jump to search
934 bytes added ,  17:28, 11 April 2015
imported>Exit
imported>Matthiaswagg
Line 247: Line 247:
'''defaultDisableOnCellAttachOtherCond'''
'''defaultDisableOnCellAttachOtherCond'''


This script disables its object on [[OnReset - ObjectReference|reset]] if the location has been cleared once. Note that this script requires a [[LinkRef]] to an XMarker to track this state (Bethesda provides more information on XMarkers in its dungeon [[Bethesda_Tutorial_Dungeon_Wrapup#Location_Reference_Types_and_Radiant_Story|tutorial]]).
This script disables its object [[OnReset - ObjectReference]] if the location has been cleared once. Note that this script requires a LinkedReference to an XMarker in the same cell to track this state. Bethesda provides more information on XMarkers in its dungeon [[Bethesda_Tutorial_Dungeon_Wrapup#Location_Reference_Types_and_Radiant_Story|tutorial]]).


'''defaultDisableOnLoadAfterTrig'''
'''defaultDisableOnLoadAfterTrig'''
Line 255: Line 255:
'''defaultDisableOnloadAfterWait'''
'''defaultDisableOnloadAfterWait'''


This script disables its object at a set time, after being enabled.  
This script disables its object a set time after [[OnLoad - ObjectReference]]. I.e. showing something to the player for a little before removal.


'''defaultDisableOnReset'''
'''defaultDisableOnReset'''
Line 263: Line 263:
'''defaultDisableOnResetIfLocWasCleared'''
'''defaultDisableOnResetIfLocWasCleared'''


This script disables its object on [[OnReset - ObjectReference|reset]] if the location has been cleared once. Note that this script requires a [[LinkRef]] to an XMarker to track this state (Bethesda provides more information on XMarkers in its dungeon [[Bethesda_Tutorial_Dungeon_Wrapup#Location_Reference_Types_and_Radiant_Story|tutorial]]). ''This script is identical to defaultDisableOnCellAttachOtherCond''
This script is identical to defaultDisableOnCellAttachOtherCond.


'''defaultDisableOnResetOtherCondition'''
'''defaultDisableOnResetOtherCondition'''
Line 309: Line 309:
'''defaultEnableLinkedRefOnActivate'''
'''defaultEnableLinkedRefOnActivate'''


 
This script will, variably, disable or enable the reference's linked reference when activated, and then go to a [[States (Papyrus)|state]] wherein activation does nothing. I.e. disabling a door when a button is pressed.


'''defaultEnableLinkedRefOnDeath'''
'''defaultEnableLinkedRefOnDeath'''


'''defaultEnableLinkedRefOnLostLOS'''
'''defaultEnableLinkedRefOnLostLOS'''
This script will, variably, disable or enable the reference's linked reference when the player [[OnLostLOS - ObjectReference|loses line of sight]] of the reference the script is on. I.e enabling and disabling a ghost as you lose sight of your follower.


'''defaultEnableOnReset'''
'''defaultEnableOnReset'''


'''defaultEnableTrigScript'''
'''defaultEnableTrigScript'''
This script will disable the triggerbox it is on when entered. ''Note from script: Trigger Box script used to enable/disable objects linked to this.''


'''defaultEquipItemOnLoad'''
'''defaultEquipItemOnLoad'''


'''defaultFakeHarvestableScript'''
'''defaultFakeHarvestableScript'''
This script is added on an activator to fake an object being harvestable. It mimics the normal harvest behavior and allows you to specify an ingredient to pick, potion to add, sound, days before it is restored, message, and if it deletes itself when harvested. I.e. a fake harvestable cup dispensing potions.


'''defaultFakeNPCLoadTRIG'''
'''defaultFakeNPCLoadTRIG'''


'''defaultfakerezspell'''
'''defaultfakerezspell'''
This script "fakes" resurrecting and re-killing actors. It will resurrect/summon the NPC when the actor is activated. ''Banishing must be called externally from other scripts by calling Banish() on the script to kill the actor.'' I.e. for use with undead.


'''defaultFakeSummonSpell'''
'''defaultFakeSummonSpell'''
Anonymous user

Navigation menu