Editor
Second Life has a
script text editor, which is the
window that opens each time "New Script..." is clicked, or an existing script is opened (double-clicked).
SL also has a built-in
object editor to manipulate
prims in many ways.
SL allows use of copy-and-paste, which scripts can be written in any editor and copy-pasted into a Second Life editor window.
The built-in script editor offers these features:
- Syntax highlighting: key words, events, constants and Linden functions are shown in different colors.
- Tooltips: hovering over a Linden function or constant will give some brief explanation as to its use.
- A list of all key words including events, constants, and functions: This is in the form of a drop-down list in the bottom left of the editor window.
- Two window panes: the top is the editor for editing the script, and the bottom smaller one is the status window. The status window will show information about an attempted save and compile. It will either say "compile successful" or the line number and a short (cryptic) error message.
- Just below the status window, on the left side of the window, it shows the current line number and column of the text cursor in the edit window.
There is also a "Running" checkbox. When checked on a script on an object, the script will run. When not checked, or in the
user's inventory, a script will not run. The script will automatically check this box (and start running) whenever it is put into an object, so be careful.
Script |
Alternate Editors |
UI