Difference between revisions of "Scripting Tutorial: Updating your leveled items"

m
no edit summary
imported>ZuTheSkunk
(An attempt to fix the bad English)
imported>ZuTheSkunk
m
 
Line 28: Line 28:


For the purpose of this tutorial, I have created a custom script that updates the Blackwater Blade from the quest "Unexpected Voyage". You can take a look at the finished script at the bottom of this article.
For the purpose of this tutorial, I have created a custom script that updates the Blackwater Blade from the quest "Unexpected Voyage". You can take a look at the finished script at the bottom of this article.
Okay, let's get started!


Start the Construction Set as usual. Open the [[Edit Scripts|Script Window]] and use the File Menu (those buttons at the top) to create a new script.
Start the Construction Set as usual. Open the [[Edit Scripts|Script Window]] and use the File Menu (those buttons at the top) to create a new script.
Line 160: Line 162:
</pre>
</pre>


And at this point, your script should be correct (don't forget to save!). There is only one thing to do - you must add it to the quest in order to make it work.
And at this point, your script should be correct (don't forget to save!). There is only one thing to do - you must add it to a quest in order to make it work. This "quest" will not appear in the player's journal and will simply work silently in the background.


* Set the type of your script as "Quest" in the File Menu.
* Set the type of your script as "Quest" in the File Menu.
Anonymous user