Difference between revisions of "A beginner's guide, lesson 6 - Quest Dialogue"
A beginner's guide, lesson 6 - Quest Dialogue (edit)
Revision as of 04:56, 28 July 2010
, 04:56, 28 July 2010→The Script Editing Window: Editing English
imported>Pyrocow2 (→Topics: Editing English) |
imported>Pyrocow2 (→The Script Editing Window: Editing English) |
||
Line 432: | Line 432: | ||
==The Script Editing Window== | ==The Script Editing Window== | ||
The [[Edit Scripts|script editor]] is in essence | The [[Edit Scripts|script editor]] is in essence a very basic text editor, used for writing and editing scripts. Many scripters use external text editors like Notepad, Notepad++, Crimson Editor, etc. to write their scripts. One reason for this is that the script editor will only save compiled scripts, which must be 100% free of errors. External editors also allow you to keep a back-up versions of your scripts. | ||
I personally keep a large library of scripts. Some that I have written, and loads copied from forums and other mods. I can then refer to these when I need a solution to a problem. | I personally keep a large library of scripts. Some that I have written, and loads copied from forums and other mods. I can then refer to these when I need a solution to a problem. | ||
On the menu bar at the top of the editor you will find two options plus the standard help files. | On the menu bar at the top of the editor you will find two options, plus the standard help files. | ||
===Script=== | ===Script=== | ||
Line 486: | Line 486: | ||
===Script Type=== | ===Script Type=== | ||
Finally there is a drop down menu | Finally there is a ''Script Type'' drop down menu. There are 4 types of script, but "Results" scripts are not edited or compiled in the script editor. We will see this shortly. | ||
The scripts written in this editor can be [[Object scripts|Object]], [[Quest scripts|Quest]], or [[Magic effect scripts|Magic effect]]. This setting determines which objects in the editor the script can be attached to. Each script type is run in a slightly different way and it is important to let the game know which one you want your script to be. | The scripts written in this editor can be [[Object scripts|Object]], [[Quest scripts|Quest]], or [[Magic effect scripts|Magic effect]]. This setting determines which objects in the editor the script can be attached to. Each script type is run in a slightly different way and it is important to let the game know which one you want your script to be. | ||
You can edit or change this at a later date if you make an error. | You can edit or change this at a later date if you make an error. | ||
Okay we want to write a quest script, so select Quest from the Script Type drop-down window. | Okay, we want to write a quest script, so select Quest from the Script Type drop-down window. | ||
==Scripting== | ==Scripting== |