Difference between revisions of "Default Scripts List"

Jump to navigation Jump to search
722 bytes added ,  19:44, 10 April 2015
imported>Matthiaswagg
imported>Matthiaswagg
Line 11: Line 11:
'''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.  
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'''
'''defaultActivateDelayedToggleLinkedRef'''
Line 18: Line 18:


'''defaultActivateDeleteLinkedRef'''
'''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'''
'''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'''
'''defaultActivateLinkedRefOnAttacked'''
This script will activate the linked reference of the actor once the actor has been hit the specified number of times. I.e. releasing an animal from a cage once you've hit a rival in a duel enough.


'''defaultActivateLinkedRefOnceOnDeath'''
'''defaultActivateLinkedRefOnceOnDeath'''
This script will activate the linked reference of the actor when they die.


'''defaultActivateOnLoad'''
'''defaultActivateOnLoad'''
Anonymous user

Navigation menu