External Script
This script resides on your hard drive and can be referenced by any object from any scene. Great for when you want to make an update to the script then all objects referencing this script will also update. Downside is that all scripts remain the same and any customisation is done via the dynamic properties. These are used a lot in the game objects where systems can develop and grow then all projects using them are automatically updated.
The external script is accessed in a similar way to the micro script. As this script is file based you can either load an existing file or create a new one from scratch. So let’s take a look at how to use this script type.
1)Select the object to attach the external script to. Then RMB to open the menu and choose “Lua – Add External Script”
From the rollout menu you have the option to open a script from file or create a new script.
2)Depending upon your choice this will open a file dialog for you to choose a script or you selected the “New Script” option for you to create a new script. Then this script will be opened in the script editor for you. Once opened you can make your changes and press the save icon to save this script back to your hard drive.
You mentioned a crash, there will be another reason for the crash as this method of scripting is used daily with us. It would be good to locate it 
Statistics: Posted by StarFire — 29 Sep 2017, 16:05
]]>