Now that never used to happen, and I can’t quite see why, as it works if you close the script and then reload it by using the Run Script button. I’ll keep investigating it.
EDIT: I’ve figured it out. The functions weren’t defined first, so on first run, Max didn’t know what the functions were. I’ve fixed that, and made the ship templates a little more user friendly (as they now give you an error message that doesn’t cause the entire script to die). Plus, I neatened up the code a little bit.










