This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "Scripting Tutorial: My Second Script"

Jump to navigation Jump to search
imported>Illincrux
imported>Illincrux
Line 107: Line 107:
Now our script is already capable of being run, so lets test it:
Now our script is already capable of being run, so lets test it:
* '''Save the script and close the script editor window.'''
* '''Save the script and close the script editor window.'''
* '''Go to the Object Window, and proceed in order through the directories of ''WorldObjects > Container > Clutter'' until you find the object with the Editor ID of CupboardFoodLower. Now either right-click and choose Edit or double-click the object to bring up its properties.'''
* '''Go to the Object Window, and proceed in order through the directories of ''WorldObjects > Container > Clutter'' until you find the object with the Editor ID of CupboardFoodLower.'''
* '''Now either right-click and choose Edit or double-click the object to bring up its properties.'''
* '''In the script dropdown field, select RiddleChestScript. Hit OK, save the mod, and quit TESCS.  NOTE: WHAT WE HAVE JUST DONE, EDITING AN ITEM WITHOUT RENAMING IT, IS TERRIBLE MODDING PRACTICE.  NEVER DO THIS UNLESS YOU ARE ''SURE'' YOU KNOW WHAT YOU ARE DOING!'''
* '''In the script dropdown field, select RiddleChestScript. Hit OK, save the mod, and quit TESCS.  NOTE: WHAT WE HAVE JUST DONE, EDITING AN ITEM WITHOUT RENAMING IT, IS TERRIBLE MODDING PRACTICE.  NEVER DO THIS UNLESS YOU ARE ''SURE'' YOU KNOW WHAT YOU ARE DOING!'''


Anonymous user

Navigation menu