Script Browser

Purpose
The purpose of the Script Browser is to have a single location within the editor to navigate through all the scripts. This is the gateway to all the scripts being used in our game and automatically link up with the Lua Script Editor to provide easy script editing.

Basic Usage
To open the Script Browser, click on the "Window" menu and then click "Script Browser". This will open the Script Browser in a dockable window. The default folder is the root of the Scripts folder.

Usage of the Script Browser is quite simple. You can double click any file or folder within the browser to either navigate to that folder or open the file for editing or viewing in the Lua Script Editor.

The buttons on the bottom provide the user with an easy way to Create, Open, or Remove scripts from the project.

Script Creation
To create a new script, first navigate to the folder you want to create the script in. Then, click on the "Create Script" button at the bottom of the Script Browser.

This will bring up a prompt for basic file information. If you are using your own Profile, the Full Name, and DP Username will be auto populated based on that information. Enter the file name and a brief description of what the file is. The file will automatically append the extension if it is not included in the file name. Once all the fields are filled click "Accept" and the script file will be created and opened in the Lua Script Editor with the file header already created.

Script Removal
First select the script that you want to remove. To remove the script from the directories click on the "Remove Script" button at the bottom of the Script Browser. If a valid script is selected the prompt to remove the script will appear to verify that you want to archive the script.

By clicking "OK" the script will then be moved to the "ArchivedScripts" folder located in the root directory of the project.

Removing scripts  DOES NOT  delete the script. This will only move the script out of the main project's script folders and into the "ArchivedScripts" folder in the project root directory. To undo a script removal, you will need to open the "ArchivedScripts" folder in Windows and manually move the file back into the correct location.